/* =====================================================================
   HTH — Hard Techno template
   Dark monochrome design with muted red / steel-blue accents.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg:        #070707;
  --bg-2:      #0d0d0d;
  --bg-3:      #131313;
  --bg-4:      #1a1a1a;
  --line:      #222222;
  --line-2:    #2e2e2e;
  --text:      #e6e6e6;
  --text-2:    #a3a3a3;
  --muted:     #6e6e6e;
  --white:     #ffffff;

  --logo:     #afafaf;
  --logo-hover:#ff2222;

  --red:       #a02932;   /* muted, dark red */
  --red-soft:  rgba(158, 42, 51, .35);
  --orange:     #e6a800;
  --orange-soft:     #6e5100;
  --blue:      #2f5f7a;   /* steel blue */
  --blue-soft: rgba(47, 95, 122, .35);

  --font-head: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 950px;
  --gutter: 20px;
  --header-h: 52px;
  --radius: 4px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: .18s;
  --t-med:  .35s;
  --t-slow: .8s;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* sticky footer: the page is at least as tall as the window and main takes up the free space */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* subtle film-grain overlay for texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: screen;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--red); color: var(--white); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.muted { color: var(--text-2); }

.hidden {
  display: none;
}
/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
}
.logo-svg { display: block; height: 26px; width: auto; color: var(--logo); transition: color .5s ease; }
.logo-svg--mark  { aspect-ratio: 1 / 1; }
.logo-svg--label { aspect-ratio: 1236 / 432; }
/* hover: the mark fades to red, the wordmark stays white */
.logo:hover .logo-svg--mark { color: var(--logo-hover); }
.logo:hover .logo-sub { color: var(--white); transition: color .5s ease; }
.logo-sub {
  font-size: 9px;
  letter-spacing: .32em;
  color: var(--muted);
  padding-left: 10px;
  border-left: 1px solid var(--line-2);
  transform: translateY(1px);
  transition: color .5s ease;
}

.header-right { display: flex; align-items: center; gap: 18px; }

/* Language selector */
.lang { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 9px 0 8px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--text-2);
  position: relative;
  overflow: hidden;
  overflow: clip;               /* see .event-card */
  transition: color var(--t-med), border-color var(--t-med), background var(--t-med);
}
.lang-btn::after {            /* shine sweep */
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -75%;
  width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-20deg);
  transition: left .6s var(--ease);
}
.lang-btn:hover::after { left: 125%; }
.lang-btn:hover,
.lang.is-open .lang-btn { color: var(--white); border-color: var(--text-2); background: var(--bg-3); }
.lang-globe {
  width: 13px; height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
}
.lang-chev {
  width: 5px; height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform var(--t-med) var(--ease);
}
.lang.is-open .lang-chev { transform: rotate(225deg) translate(-2px, -2px); }
.lang-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  padding: 6px 0;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  box-shadow: 0 14px 30px rgba(0,0,0,.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .3s var(--ease), visibility 0s linear .3s;
  z-index: 200;
}
.lang.is-open .lang-list {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .2s ease, transform .3s var(--ease), visibility 0s;
}
.lang-list li {
  position: relative;
  font-family: var(--font-head);
  font-size: 12px;
  color: var(--text-2);
  cursor: pointer;
  transition: color var(--t-med), background var(--t-med);
}
.lang-list li > a {           /* each language is a link to the same page in that language */
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  outline: none;
}
.lang-list li:focus-within { color: var(--white); background: var(--bg-3); }
.lang-list li::before {       /* red edge grows in from the top */
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-med) var(--ease);
}
.lang-list li:hover { color: var(--white); background: var(--bg-3); }
.lang-list li:hover::before { transform: scaleY(1); }
.lang-list li.is-selected { color: var(--white); }
.lang-list li.is-selected .lang-code { color: var(--red); }
.lang-code { font-weight: 700; letter-spacing: .18em; font-size: 10.5px; width: 26px; }
.lang-name { font-family: var(--font-body); font-weight: 300; font-size: 12.5px; }

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--text-2);
  white-space: nowrap;
  transition: color .4s ease;
}
.live-tag:hover { color: var(--white); }
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 var(--red-soft);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(158, 42, 51, .6); }
  70%  { box-shadow: 0 0 0 8px rgba(158, 42, 51, 0); }
  100% { box-shadow: 0 0 0 0 rgba(158, 42, 51, 0); }
}

/* Hamburger (mobile only) */
.menu-toggle {
  display: none;
  width: 36px; height: 36px;
  position: relative;
  margin-right: -8px;
}
.menu-toggle .line {
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: var(--white);
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast), top var(--t-med) var(--ease);
}
.menu-toggle .line:nth-child(1) { top: 11px; }
.menu-toggle .line:nth-child(2) { top: 17px; }
.menu-toggle .line:nth-child(3) { top: 23px; }
.menu-toggle .line { background: var(--white); transition: background var(--t-med), transform var(--t-med) var(--ease), opacity var(--t-fast), top var(--t-med) var(--ease); }
.menu-toggle:hover .line { background: var(--white); }
.menu-toggle[aria-expanded="true"] .line:nth-child(1) { top: 17px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] .line:nth-child(3) { top: 17px; transform: rotate(-45deg); }

/* =====================================================================
   MENU
   ===================================================================== */
.site-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.nav-list {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  display: block;
  padding: 14px 16px;
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;    /* labels come from the language files in normal case */
  color: var(--text-2);
  white-space: nowrap;
  transition: color .4s ease;
  overflow: hidden;
  overflow: clip;               /* see .event-card */
}
.nav-link:hover { color: var(--white); }
.nav-link.is-active { color: var(--white); }

/* Sliding underline: one bar that travels between items (positioned by JS).
   Left and width use different timings so the bar stretches while moving. */
.nav-list { position: relative; }
.nav-indicator {
  position: absolute;
  bottom: 9px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  pointer-events: none;
  opacity: 0;
  transition:
    left .45s cubic-bezier(.65, 0, .35, 1),
    width .45s cubic-bezier(.3, .8, .4, 1),
    background-color .4s ease,
    opacity .3s ease;
}
.nav-list.has-indicator .nav-indicator { opacity: 1; }
.nav-list.is-hovering .nav-indicator { background: var(--white); }

/* EVENT INFO — periodic flash */
.nav-link--event { color: var(--text); }
.nav-link--event::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.14) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: sweep 5s ease-in-out infinite;
}
.nav-link--event { animation: eventFlash 5s ease-in-out infinite; }
@keyframes sweep {
  0%, 10%  { left: -60%; }
  30%, 100% { left: 130%; }
}
@keyframes eventFlash {
  0%, 8%   { color: var(--text); text-shadow: none; }
  12%      { color: var(--white); text-shadow: 0 0 10px rgba(158, 42, 51, .9), 0 0 22px rgba(158, 42, 51, .5); }
  16%      { color: #f0c8cc; text-shadow: 0 0 6px rgba(158, 42, 51, .6); }
  20%      { color: var(--white); text-shadow: 0 0 14px rgba(158, 42, 51, .9), 0 0 30px rgba(158, 42, 51, .45); }
  34%, 100%{ color: var(--text); text-shadow: none; }
}

/* =====================================================================
   SLIDESHOW
   ===================================================================== */
.slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 1.5;          /* height = 25% of width */
  overflow: hidden;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
  margin-top: 0;
}
/* fallback for very old browsers without aspect-ratio */
@supports not (aspect-ratio: 4 / 1) {
  .slideshow::before { content: ""; display: block; padding-top: 25%; }
  .slideshow > .slide { top: 0; }
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: opacity;
}
.slide.is-active { opacity: 1; z-index: 1; }

/* Pan layer: wider than the frame so it can slide sideways (transform animated by JS) */
.slide-pan {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: var(--pan-width, 115%);
  will-change: transform;
}
/* Image: full width of the pan layer, vertically centred so top and bottom are cropped */
.slide-img {
  position: absolute;
  top: 50%; left: 0;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
/* subtle vignette + bottom fade over every slide */
.slide::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%),
    radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,.35) 100%);
}

/* =====================================================================
   CONTENT
   ===================================================================== */
main.wrap {
  background: var(--bg);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding-inline: 0;
  flex: 1 0 auto;               /* grows to push the footer to the bottom of the window */
  display: flex;
  flex-direction: column;
}
/* on a short page the last section takes the leftover height, so the content
   column reaches the footer instead of ending in an empty gap */
main.wrap > .section:last-child { flex: 1 0 auto; }
main.wrap > .slideshow { flex: none; }   /* keeps its own aspect ratio */
.section {
  padding: 40px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
}
.h2::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--red);
}
.link-more {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-2);
  position: relative;
  transition: color .4s ease;
  transform: translateY(25%);
}
.link-more::after {           /* underline draws in from the left, exits to the right */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.link-more:hover { color: var(--white); }
.link-more:hover::after { transform: scaleX(1); transform-origin: left; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) ease, transform var(--t-slow) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Intro */
.intro { padding-top: 56px; padding-bottom: 56px; }
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: end;
}
.eyebrow {
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.display {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--white);
}
.display .thin { font-weight: 400; color: var(--text-2); }
.intro-copy p { color: var(--text-2); font-size: 15.5px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  overflow: clip;               /* clip, not hidden: the oversized shine pseudo must not make it scrollable */
  transition: color .4s ease, border-color .4s ease, background-color .4s ease;
  isolation: isolate;
}
/* fill wipes in from the left on mouseover and retreats to the right on mouseout */
.btn::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
/* shine that sweeps across after the fill lands */
.btn::after {
  content: "";
  position: absolute;
  top: -20%; bottom: -20%;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg);
  transition: left .7s var(--ease);
  z-index: 0;
}
.btn:hover::after { left: 130%; transition-delay: .15s; }
.btn:active { transition-duration: .08s; }
.btn--primary { background: var(--white); color: var(--bg); border-color: var(--white); }
.btn--primary::before { background: var(--red); }
.btn--primary:hover { color: var(--white); border-color: var(--red); }
.btn--ghost { color: var(--text); background: transparent; }
.btn--ghost:hover { color: var(--bg); border-color: var(--white); }
.btn--ghost::after { background: linear-gradient(100deg, transparent, rgba(0,0,0,.12), transparent); }

/* Periodic sliding shine (same 5s cycle as the EVENT INFO menu item).
   The button is white, so the band is red-tinted to stay visible. */
.btn--pulse::after {
  width: 45%;
  background: linear-gradient(100deg, transparent 0%, rgba(158,42,51,.55) 50%, transparent 100%);
  animation: btnSweep 5s ease-in-out infinite;
}
.btn--pulse:hover::after {                 /* hover: normal white shine over the red fill */
  animation: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
}
@keyframes btnSweep {
  0%, 10%   { left: -60%; }
  30%, 100% { left: 130%; }
}
.btn--block { width: 100%; }

/* Event card */
.event-card {
  display: grid;
  grid-template-columns: 110px 1fr 200px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  position: relative;
  overflow: hidden;
  overflow: clip;               /* clip, not hidden: the light sweep reaches 50% above/below, and a scrollable card
                                   gets scrolled when something inside is focused or scrolled into view */
  transition: border-color .5s ease;
}
.event-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--red);
  box-shadow: 0 0 0 rgba(158,42,51,0);
  transition: box-shadow .6s ease;
  z-index: 2;
}
/* wide diagonal light sweep across the whole card */
.event-card::after {
  content: "";
  position: absolute;
  top: -50%; bottom: -50%;
  left: -40%;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.045), transparent);
  transform: skewX(-18deg);
  transition: left 1.1s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.event-card:hover { border-color: #3a3a3a; }
.event-card:hover::before { box-shadow: 0 0 18px rgba(158,42,51,.7); }
.event-card:hover::after { left: 120%; }
.event-day { transition: color .5s ease; }
.event-card:hover .event-day { color: var(--red); }
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 10px;
  border-right: 1px solid var(--line);
  font-family: var(--font-head);
}
.event-day { font-size: 40px; font-weight: 700; line-height: 1; color: var(--white); }
.event-month { font-size: 12px; letter-spacing: .3em; color: var(--red); margin-top: 6px; }
.event-year { font-size: 10px; letter-spacing: .2em; color: var(--muted); margin-top: 2px; }
.event-body { padding: 22px 24px; min-width: 0; }
.event-title { font-size: 18px; color: var(--white); margin: 6px 0 6px; }
.event-title2 { font-size: 18px; color: var(--red); margin: 6px 0 6px; }
.event-meta { font-size: 13px; color: var(--text-2); margin-top: 14px; margin-bottom: 14px; }
.lineup { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.lineup a {                   /* each name links to the artist page */
  display: block;
  font-family: var(--font-head);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 9px;
  border: 1px solid var(--line-2);
  color: var(--orange);
  border-radius: 2px;
  transition: color .4s ease, border-color .4s ease, background-color .4s ease;
}
.lineup a:hover { color: var(--white); border-color: var(--text-2); background: var(--bg-4); }
/* Flyer (inside the right column) */
.event-flyer {
  position: relative;
  display: block;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-2);
  aspect-ratio: 9 / 16;
  z-index: 2;
}
.event-flyer picture, .event-flyer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-flyer img { transition: transform 1.4s var(--ease), filter .6s ease; }
.event-flyer:hover img { transform: scale(1.04); filter: brightness(1.08); }
.event-flyer-hint {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px;
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.8));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s ease, transform .45s var(--ease);
}
.event-flyer:hover .event-flyer-hint { opacity: 1; transform: none; }

/* Right column: flyer above the ticket button */
.event-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 16px;
  border-left: 1px solid var(--line);
  background: rgba(0,0,0,.25);
}
.event-body { display: flex; flex-direction: column; }
.event-body .tag { align-self: flex-start; }
.event-body .countdown {
  align-self: flex-end;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  min-width: 320px;
  max-width: 320px;
}

.event-body .description {

}
.event-more { margin-top: 14px; }   /* "→ more details" link under the event text (.link-more) */

.text-justify {
  text-align: justify;
}

/* Link inside running text: <a class="text-link" href="…">…</a>
   (the global reset makes links look like plain text, this makes them recognisable) */
.text-link {
  color: var(--orange);         /* same as the line-up names */
  text-decoration: underline;
  text-decoration-color: var(--orange-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .3s ease, text-decoration-color .3s ease;
}
.text-link:hover,
.text-link:focus-visible { color: var(--white); text-decoration-color: var(--white); }
.text-link[target="_blank"]::after {   /* opens in a new tab */
  content: "↗";
  display: inline-block;
  margin-left: 3px;
  font-size: .85em;
  text-decoration: none;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  text-align: center;
  font-family: var(--font-head);
}
.countdown b { display: block; font-size: 20px; font-weight: 600; color: var(--white); line-height: 1; }
.countdown span { display: block; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 9.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
  background: var(--bg-4);
  color: var(--text-2);
}
.tag--red { background: var(--red-soft); color: #e3aab0; }

/* Event detail panel (event/index.html) — same look as the event card on the home page.
   Areas: head (date + name), facts (details row), main (line-up + text), side (flyer, tickets, share). */
.event-detail {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 240px;
  grid-template-areas:
    "head  head"
    "facts facts"
    "main  side";
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  overflow: hidden;
  overflow: clip;               /* see .event-card */
}
.event-detail::before {       /* red edge, like the event card */
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--red);
  z-index: 2;
}

.ed-head {
  grid-area: head;
  display: flex;
  border-bottom: 1px solid var(--line);
}
.ed-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 120px;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  font-family: var(--font-head);
}
.ed-weekday {
  margin-top: 8px;
  font-size: 9.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-2);
}
.ed-titles {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 22px 26px;
}
.ed-titles .eyebrow { margin-bottom: 10px; }
.ed-titles .event-title { margin: 0; font-size: 26px; }
.ed-titles .event-title2 { margin: 8px 0 0; font-family: var(--font-head); font-size: 20px; font-weight: 600; line-height: 1.15; }

/* Details row */
.ed-facts {
  grid-area: facts;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);      /* shows through the 1px gaps as divider lines */
  border-bottom: 1px solid var(--line);
}
.ed-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 20px;
  background: var(--bg-2);
}
.ed-fact-label {
  font-family: var(--font-head);
  font-size: 9.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}
.ed-fact-value { font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--white); }

/* Left column */
.ed-main { grid-area: main; min-width: 0; padding: 26px 26px 30px; }
.ed-block + .ed-block { margin-top: 34px; }
.ed-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--white);
}
.ed-label::before { content: ""; width: 14px; height: 1px; background: var(--red); }

/* Line-up: artist photo + name, links to the artist pages */
.artist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.artist { display: block; }
.artist-photo {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: #000;
  border: 1px solid var(--line-2);
  overflow: hidden;
  overflow: clip;
}
.artist-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter .6s ease, transform 1.2s var(--ease);
}
.artist-photo::after {        /* red bottom line grows in from the left */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.artist:hover .artist-photo img { filter: none; transform: scale(1.05); }
.artist:hover .artist-photo::after { transform: scaleX(1); }
.artist-name {
  display: block;
  margin-top: 9px;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);         /* same as the line-up tags on the home page */
  transition: color .4s ease;
}
.artist:hover .artist-name { color: var(--white); }
@media (hover: none) {          /* touch screens have no hover: show the photos in colour */
  .artist-photo img { filter: none; }
}

/* Event text */
.ed-description p { color: var(--text-2); font-size: 14.5px; line-height: 1.75; hyphens: auto; }
.ed-description > :last-child { margin-bottom: 0; }

/* Right column: stays in view while scrolling through a long text */
.ed-side {
  grid-area: side;
  padding: 16px;
  border-left: 1px solid var(--line);
  background: rgba(0,0,0,.25);
}
.ed-side-inner {
  position: sticky;
  top: calc(var(--header-h) + 62px);   /* below the sticky header + menu */
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 22px 30px;
  background: var(--bg);
  min-height: 190px;
  transition: background-color .5s ease;
  overflow: hidden;
  overflow: clip;               /* see .event-card */
}
.card::after {                /* bottom line grows in from the left */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.card::before {               /* diagonal shine sweep */
  content: "";
  position: absolute;
  top: -60%; bottom: -60%;
  left: -70%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.06), transparent);
  transform: skewX(-20deg);
  transition: left .9s var(--ease);
  pointer-events: none;
}
.card:hover { background: var(--bg-3); }
.card:hover::after { transform: scaleX(1); }
.card:hover::before { left: 140%; }
.card--accent::after { background: var(--red); }
.card-num { font-family: var(--font-head); font-size: 10px; letter-spacing: .3em; color: var(--muted); transition: color .5s ease; }
.card:hover .card-num { color: var(--red); }
.card-title { font-size: 16px; color: var(--white); }
.card p { font-size: 11px; color: var(--text-2); margin: 0; }
.card-arrow {
  margin-top: auto;
  font-size: 16px;
  color: var(--muted);
  transition: transform .45s var(--ease), color .45s ease;
}
.card:hover .card-arrow { transform: translateX(6px); color: var(--white); }

/* Text panel — plain panel for longer copy (About page etc.)
   <div class="text-panel">
     <p class="lead">…</p>   first, stronger paragraph (optional)
     <p>…</p>
     <h3>…</h3>              sub-heading inside the panel (optional)
     <p class="text-sign">— Valaki</p>   closing / signature line (optional)
   </div> */
.text-panel {
  position: relative;
  padding: 26px 28px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  overflow: hidden;
  overflow: clip;
}
.text-panel::before {         /* red edge, like the event card */
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--red);
}
.text-panel p {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.75;
  text-align: justify;
  hyphens: auto;
}
.text-panel .lead { color: var(--text); font-size: 16px; }
.text-panel h3 {
  margin: 24px 0 10px;
  font-size: 15px;
  color: var(--white);
}
.text-panel h3:first-child { margin-top: 0; }
.text-panel .text-sign {
  margin-top: 22px;
  text-align: right;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted);
}
.text-panel > :last-child { margin-bottom: 0; }

/* Platform list — large social links (Community page), same look as the feature cards */
.platform-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 22px;
  background: var(--line);
  border: 1px solid var(--line);
}
.platform {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 16px 18px;
  background: var(--bg);
  overflow: hidden;
  overflow: clip;
  transition: background-color .5s ease;
}
.platform::after {            /* red bottom line grows in from the left */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.platform:hover { background: var(--bg-3); }
.platform:hover::after { transform: scaleX(1); }
.platform-icon {
  flex: none;
  width: 28px; height: 28px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .6;
  transition: filter var(--t-med), opacity var(--t-med);
}
.platform:hover .platform-icon { filter: none; opacity: 1; }
.platform-text { display: flex; flex-direction: column; min-width: 0; }
.platform-name { font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--white); }
.platform-handle {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.platform-arrow {
  margin-left: auto;
  font-size: 15px;
  color: var(--muted);
  transition: transform .45s var(--ease), color .45s ease;
}
.platform:hover .platform-arrow { transform: translate(3px, -3px); color: var(--white); }
.platform-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* odd count: last tile spans the row */
/* inline SVG logo instead of a PNG (platforms without an icon file); style="--brand:#…" sets its hover colour */
.platform-icon--svg { fill: currentColor; color: var(--text-2); filter: none; }
.platform:hover .platform-icon--svg { color: var(--brand, var(--white)); }

/* =====================================================================
   ARTIST PROFILE (artists/…/index.html)
   ===================================================================== */
.artist-profile {
  position: relative;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  overflow: hidden;
  overflow: clip;
}
.artist-profile::before {     /* red edge, like the event panels */
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--red);
  z-index: 2;
}
.ap-head { padding: 28px 30px 24px; border-bottom: 1px solid var(--line); }
.ap-head .eyebrow { margin-bottom: 10px; }
.ap-name {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
}
.ap-origin {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-2);
}
.ap-flag {
  flex: none;
  width: 27px; height: 18px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12);
}

/* Bio text with the photo floated into it */
.ap-bio { display: flow-root; padding: 28px 30px 30px; }   /* flow-root contains the float */
.ap-bio p {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.75;
  text-align: justify;
  hyphens: auto;
}
.ap-bio .lead { color: var(--text); font-size: 16px; }
.ap-bio h3 {                  /* sub-heading inside a bio */
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 10px;
  font-size: 15px;
  color: var(--white);
}
.ap-bio h3::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--red); }
.ap-bio > :last-child { margin-bottom: 0; }
.ap-photo {
  float: right;
  width: 40%;
  max-width: 320px;
  margin: 4px 0 18px 28px;
  border: 1px solid var(--line-2);
  background: #000;
}
.ap-photo img { width: 100%; height: auto; }
.ap-venues {
  columns: 2;
  column-gap: 28px;
  margin: 0 0 1em;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.2);
}
.ap-venues li {
  break-inside: avoid;
  padding: 4px 0;
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--text);
}
.ap-venues span { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
/* Pull quote inside the bio: <blockquote class="ap-quote"><p>„…”</p><footer>— Név</footer></blockquote> */
.ap-quote {
  display: flow-root;           /* stays clear of the floated photo */
  margin: 6px 0 1.2em;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--red);
}
.ap-bio .ap-quote p {
  margin: 0;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  color: var(--white);
}
.ap-quote footer {
  margin-top: 8px;
  font-family: var(--font-head);
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--orange);
}

/* Links + player blocks */
.ap-block { padding: 26px 30px 30px; border-top: 1px solid var(--line); }
.ap-block .platform-list { margin-top: 0; }
.ap-player iframe { display: block; width: 100%; border: 0; }
.ap-player:empty {            /* placeholder until the embed code is pasted in */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 166px;          /* height of SoundCloud's standard track player */
  border: 1px dashed var(--line-2);
}
.ap-player:empty::before {
  content: "SoundCloud lejátszó helye";
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Tracklist */
.tracklist { border-top: 1px solid var(--line); }
.track {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color .45s ease;
}
.track::before {              /* thin light line slides along the row */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  background-size: 30% 100%;
  background-repeat: no-repeat;
  background-position: -30% 0;
  opacity: 0;
  transition: background-position 1s var(--ease), opacity .3s ease;
  pointer-events: none;
}
.track:hover { background: rgba(255,255,255,.02); }
.track:hover::before { background-position: 130% 0; opacity: 1; }
.track:hover .wave i { background: var(--text-2); }
.play {
  width: 40px; height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  transition: border-color .4s ease, background-color .4s ease;
}
.play::after {                /* ring pulse on hover */
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--white);
  opacity: 0;
  transform: scale(1);
}
.play:hover::after { animation: ring 1.1s ease-out infinite; }
.play.is-playing::after { border-color: var(--red); }
@keyframes ring {
  0%   { opacity: .7; transform: scale(1); }
  100% { opacity: 0;  transform: scale(1.6); }
}
.play span {
  width: 0; height: 0;
  border-left: 9px solid var(--white);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-left: 3px;
  transition: transform var(--t-fast);
}
.play:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.play.is-playing { border-color: var(--red); background: var(--red-soft); }
.play.is-playing span {
  border: 0;
  width: 9px; height: 11px;
  margin-left: 0;
  background: linear-gradient(90deg, var(--white) 0 35%, transparent 35% 65%, var(--white) 65%);
}
.track-info { display: flex; flex-direction: column; min-width: 0; }
.track-name { font-family: var(--font-head); font-size: 14px; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-meta { font-size: 11.5px; letter-spacing: .08em; color: var(--muted); }
.wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.wave i {
  width: 2px;
  height: 30%;
  background: var(--line-2);
  transition: background var(--t-fast);
}
.wave i:nth-child(odd)  { height: 60%; }
.wave i:nth-child(3n)   { height: 90%; }
.wave i:nth-child(5n)   { height: 45%; }
.track.is-playing .wave i {
  background: var(--red);
  animation: wave .9s ease-in-out infinite;
}
.track.is-playing .wave i:nth-child(2n)  { animation-delay: .12s; }
.track.is-playing .wave i:nth-child(3n)  { animation-delay: .24s; }
.track.is-playing .wave i:nth-child(4n)  { animation-delay: .36s; }
@keyframes wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.3); } }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  background: var(--bg-2);
  padding: 26px 16px;
  text-align: center;
  font-family: var(--font-head);
}
.stat b { display: block; font-size: 32px; font-weight: 700; color: var(--white); line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* Newsletter */
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.newsletter .h2 { margin-bottom: 10px; }
.nl-form {
  position: relative;
  display: flex;
  gap: 8px;
}
.nl-form input {
  flex: 1;
  min-width: 0;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--white);
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.nl-form input::placeholder { color: var(--muted); }
.nl-form input:hover { border-color: #444; }
.nl-form input:focus { border-color: var(--text-2); box-shadow: 0 0 0 3px rgba(255,255,255,.04); }
.nl-ok {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--white);
  background: var(--bg);
  border: 1px solid var(--red);
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med);
}
.nl-form.is-sent .nl-ok { opacity: 1; }

/* Invalid e-mail: red field + message under the form (added by script.js) */
.nl-form.is-invalid input,
.nl-form.is-invalid input:hover,
.nl-form.is-invalid input:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.nl-error {
  position: absolute;
  left: 0; top: calc(100% + 7px);
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #e3aab0;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s ease, transform .3s var(--ease);
  pointer-events: none;
}
.nl-form.is-invalid .nl-error { opacity: 1; transform: none; }
.nl-form.is-shaking { animation: nlShake .4s ease; }
.nl-form.is-busy button { opacity: .6; cursor: progress; }   /* while subscribe.php answers */
@keyframes nlShake {
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

/* =====================================================================
   CONTACT FORM (contact/index.html) — sits inside a .text-panel
   ===================================================================== */
.contact-panel .lead { margin-bottom: 26px; }
.contact-form { position: relative; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.cf-field { display: flex; flex-direction: column; margin-bottom: 4px; }
.cf-field label {
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-2);
}
.cf-field label::after { content: " *"; color: var(--red); }   /* required */
.cf-field input,
.cf-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--white);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.cf-field textarea { min-height: 170px; resize: vertical; line-height: 1.6; }
.cf-field input::placeholder { color: var(--muted); }
.cf-field input:hover, .cf-field textarea:hover { border-color: #444; }
.cf-field input:focus, .cf-field textarea:focus { border-color: var(--text-2); box-shadow: 0 0 0 3px rgba(255,255,255,.04); }
.cf-field.is-invalid input,
.cf-field.is-invalid textarea { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.contact-form .cf-error {      /* .contact-form prefix: beats the .text-panel p text style */
  min-height: 20px;             /* reserves the line, so the form doesn't jump when a message appears */
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  color: #e3aab0;
  opacity: 0;
  transition: opacity .25s ease;
}
.contact-form .cf-field.is-invalid .cf-error { opacity: 1; }
.cf-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cf-meta .cf-error { flex: 1; }
.cf-count {
  flex: none;
  margin-top: 5px;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  transition: color .3s ease;
}
.cf-count.is-near { color: var(--orange); }   /* last 10% */
.cf-count.is-full { color: #e3aab0; }
.cf-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.cf-ok {                      /* shown over the form after a successful send */
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  background: var(--bg-2);
  border: 1px solid var(--red);
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), visibility 0s linear var(--t-med);
}
.cf-ok b { font-family: var(--font-head); font-size: 15px; letter-spacing: .24em; text-transform: uppercase; color: var(--white); }
.cf-ok span { color: var(--text-2); font-size: 14px; }
.contact-form.is-sent .cf-ok { opacity: 1; visibility: visible; transition: opacity var(--t-med), visibility 0s; }
.contact-form.is-busy .cf-actions .btn { opacity: .6; cursor: progress; }   /* while contact-send.php answers */
.cf-actions { align-items: center; gap: 16px; }
.contact-form .cf-form-error {                 /* sending failed */
  flex: 1;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  text-align: right;
  color: #e3aab0;
}
/* Captcha widget (Cloudflare Turnstile) — the box keeps its height while the widget loads, so the form doesn't jump */
.cf-captcha { min-height: 65px; margin-top: 4px; }
/* Spam trap field: off-screen (not display:none — some bots skip hidden fields) */
.cf-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 44px 0 26px;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
}
.logo--footer { margin-bottom: 14px; }
.footer-brand p { font-size: 13px; }
.footer-col h4 {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: var(--text-2);
  position: relative;
  transition: color var(--t-fast), padding-left var(--t-med) var(--ease);
}
.footer-col a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 1px;
  background: var(--red);
  transition: width var(--t-med) var(--ease);
}
.footer-col a:hover { color: var(--white); padding-left: 14px; }
.footer-col a:hover::before { width: 8px; }
/* Follow links: small monochrome platform icon that takes its own colour on hover */
.footer-col .social-link { display: inline-flex; align-items: center; gap: 9px; }
.social-icon {
  width: 16px; height: 16px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .5;
  transition: filter var(--t-med), opacity var(--t-med);
}
.social-link:hover .social-icon { filter: none; opacity: 1; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.to-top { color: var(--text-2); letter-spacing: .1em; font-family: var(--font-head); font-size: 11px; transition: color .4s ease; }
.to-top:hover { color: var(--white); }
/* footer "Cookie settings" — looks like the back-to-top link */
.cc-open { padding: 0; font-family: var(--font-head); font-size: 11px; letter-spacing: .1em; color: var(--muted); transition: color .4s ease; }
.cc-open:hover { color: var(--white); }

/* =====================================================================
   GIVEAWAY panel on the home page (inc/partials/giveaway.php)
   ===================================================================== */
.giveaway-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  position: relative;
  overflow: clip;
  transition: border-color .5s ease;
}
.giveaway-card::before {      /* red left edge, like the event card */
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--red);
  box-shadow: 0 0 0 rgba(158,42,51,0);
  transition: box-shadow .6s ease;
  z-index: 2;
}
.giveaway-card:hover { border-color: #3a3a3a; }
.giveaway-card:hover::before { box-shadow: 0 0 18px rgba(158,42,51,.7); }
.giveaway-image {
  display: block;
  overflow: hidden;
  border-right: 1px solid var(--line);
}
.giveaway-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.35) contrast(1.05);
  transition: transform .8s var(--ease), filter .5s ease;
}
.giveaway-card:hover .giveaway-image img { transform: scale(1.04); filter: none; }
@media (hover: none) {       /* touch screens: no hover, so show the picture in full colour */
  .giveaway-image img { filter: none; }
}
.giveaway-body { padding: 22px 24px; min-width: 0; }
.giveaway-body p { font-size: 14px; line-height: 1.7; color: var(--text-2); }
.giveaway-cta { margin-top: 16px; }

/* =====================================================================
   COOKIE CONSENT panel (inc/partials/cookie-consent.php, script.js)
   ===================================================================== */
.cc-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;                 /* above the page, below the lightbox / share panel */
  padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom));
  background: var(--bg-2);
  border-top: 1px solid var(--line-2);
  box-shadow: 0 -18px 40px rgba(0,0,0,.6);
  transform: translateY(100%);
  transition: transform .45s var(--ease);
}
.cc-banner::before {          /* red top edge, like the panels */
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 2px;
  background: var(--red);
}
.cc-banner.is-open { transform: none; }
.cc-banner[hidden], .cc-settings[hidden], .cc-actions [hidden] { display: none; }
.cc-inner {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
}
.cc-text { flex: 1; min-width: 0; }
.cc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin: 0 0 6px; }
.cc-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--white);
}
.cc-lang { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.cc-lang a {
  display: block;
  padding: 4px 7px;
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color .3s ease, border-color .3s ease;
}
.cc-lang a:hover { color: var(--white); }
.cc-lang a[aria-current] { color: var(--white); border-color: var(--red); }
.cc-desc { margin: 0; font-size: 13px; line-height: 1.6; color: var(--text-2); }
.cc-settings { display: grid; gap: 10px; margin-top: 14px; }
.cc-cat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-2);
  cursor: pointer;
}
.cc-cat input { flex: none; margin-top: 3px; width: 15px; height: 15px; accent-color: var(--red); cursor: pointer; }
.cc-cat input:disabled { cursor: default; }
.cc-cat b { font-family: var(--font-head); font-weight: 600; color: var(--white); }
.cc-cat em { font-style: normal; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.cc-actions { flex: none; display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 200px; }
.cc-actions .btn { padding: 11px 18px; }
.cc-link {
  padding: 6px 0 0;
  font-family: var(--font-head);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .3s ease;
}
.cc-link:hover { color: var(--white); }

/* =====================================================================
   LIGHTBOX (flyer)
   ===================================================================== */
body.is-locked { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(3,3,3,.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .4s ease, visibility 0s; }
.lightbox picture { display: contents; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,.85);
  transform: scale(.96);
  transition: transform .5s var(--ease);
}
.lightbox.is-open img { transform: none; }
.lightbox-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 44px; height: 44px;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  color: var(--text-2);
  transition: color .35s ease;
}
.lightbox-close:hover { color: var(--white); }

/* =====================================================================
   SHARE (button + panel built by script.js)
   ===================================================================== */
.share-btn { gap: 10px; }
.share-ico {
  width: 14px; height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
}
/* compact square variant: <button class="btn btn--ghost share-btn share-btn--icon" aria-label="Megosztás" data-share …> */
.share-btn--icon { width: 40px; height: 40px; padding: 0; }

.share-panel {
  position: fixed;
  top: 0; left: 0;
  z-index: 1001;
  width: 290px;
  max-width: calc(100vw - 16px);
  padding: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0,0,0,.75);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .3s var(--ease), visibility 0s linear .3s;
}
.share-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .2s ease, transform .3s var(--ease), visibility 0s;
}
.share-head { display: flex; align-items: center; justify-content: space-between; }
.share-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--white);
}
.share-heading::before { content: ""; width: 14px; height: 1px; background: var(--red); }
.share-close {
  width: 34px; height: 34px;
  margin: -8px -9px -8px 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  color: var(--text-2);
  transition: color .35s ease;
}
.share-close:hover { color: var(--white); }
.share-subject {
  margin: 4px 0 12px;
  font-size: 12.5px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.share-targets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.share-targets li:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* odd count: last item spans the row */
.share-target {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: var(--bg-2);
  font-family: var(--font-head);
  font-size: 12px;
  color: var(--text-2);
  outline: none;
  transition: color var(--t-med), background var(--t-med);
}
.share-target::before {       /* red edge grows in from the top, like the language list */
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-med) var(--ease);
}
.share-target svg { width: 16px; height: 16px; flex: none; }
.share-target:hover,
.share-target:focus-visible { color: var(--white); background: var(--bg-3); }
.share-target:hover::before,
.share-target:focus-visible::before { transform: scaleY(1); }
.share-copy { display: flex; gap: 6px; margin-top: 12px; }
.share-url {
  flex: 1;
  min-width: 0;
  padding: 9px 10px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--text-2);
  font: inherit;
  font-size: 12px;
  outline: none;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.share-url:focus { border-color: var(--text-2); color: var(--white); }
.share-copy-btn { padding: 9px 14px; }
.share-more {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .35s ease;
}
.share-more:hover { color: var(--white); }

.share-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(3,3,3,.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.share-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }

.share-toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 1002;
  padding: 10px 16px;
  background: var(--white);
  color: var(--bg);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .3s ease, transform .3s var(--ease), visibility 0s linear .3s;
}
.share-toast.is-shown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .3s ease, transform .3s var(--ease), visibility 0s; }

/* Mobile: the panel becomes a bottom sheet */
@media (max-width: 720px) {
  .share-panel {
    top: auto; left: 0; right: 0; bottom: 0;
    width: auto;
    max-width: none;
    padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom));
    border-width: 1px 0 0;
    border-radius: 0;
    transform: translateY(100%);
  }
  .share-target { padding: 15px 14px; font-size: 13px; }
  .share-url { font-size: 16px; }   /* 16px stops iOS from zooming in on focus */
  .share-copy-btn { padding: 10px 16px; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .event-card { grid-template-columns: 90px 1fr 170px; }
  .event-day { font-size: 32px; }
  .event-detail { grid-template-columns: 1fr 200px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

/* Tablet: the Hungarian menu labels are long, tighten them so the menu stays on one line */
@media (max-width: 900px) and (min-width: 721px) {
  .nav-list { gap: 0; }
  .nav-link { padding-inline: 10px; font-size: 10.5px; letter-spacing: .16em; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; --header-h: 50px; }

  /* narrow columns: justified text tears open, so keep it ragged-right */
  .text-panel { padding: 20px 18px; }
  .text-panel p { font-size: 14px; text-align: left; }
  .platform-list { grid-template-columns: 1fr; }

  /* Contact form: one column, full-width button, 16px text so iOS doesn't zoom in on focus */
  .cf-row { grid-template-columns: 1fr; }
  .cf-field input, .cf-field textarea { font-size: 16px; }
  .cf-actions .btn { width: 100%; }
  .cf-actions { flex-direction: column; align-items: stretch; gap: 10px; }

  /* Cookie panel: text above, buttons full width below */
  .giveaway-card { grid-template-columns: 1fr; }
  .giveaway-image { border-right: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9; }
  .cc-inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .cc-actions { min-width: 0; }
  .cc-banner { max-height: 85vh; overflow-y: auto; }
  .contact-form .cf-form-error { order: 2; text-align: left; }

  /* Artist profile: photo on top, full width; ragged-right text */
  .artist-profile::before { display: none; }
  .ap-head { padding: 20px 18px 18px; }
  .ap-name { font-size: 32px; }
  .ap-bio { padding: 20px 18px 22px; }
  .ap-bio p { font-size: 14px; text-align: left; }
  .ap-photo { float: none; width: 100%; max-width: none; margin: 0 0 18px; }
  .ap-venues { columns: 1; }
  .ap-block { padding: 20px 18px 22px; }

  .logo-sub { display: none; }
  .menu-toggle { display: block; }
  .site-header { will-change: transform; }   /* moved by JS while scrolling */
  .header-right { gap: 10px; }
  .lang-btn { height: 28px; padding: 0 7px; }
  .nav-indicator { display: none; }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 4px; bottom: 12px;
    width: 24px; height: 1px;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-med) var(--ease);
  }
  .nav-link:hover::after { transform: scaleX(1); }
  .nav-link.is-active::after { transform: scaleX(1); background: var(--red); }

  /* Mobile menu: collapses under header, slides down */
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    bottom: 0;
    background: var(--bg);
    border-bottom: 0;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-med) ease, transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
    overflow-y: auto;
  }
  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: opacity var(--t-med) ease, transform var(--t-med) var(--ease), visibility 0s;
  }
  .nav-list { flex-direction: column; gap: 0; padding: 12px 0 30px; }
  .nav-list li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(-10px); transition: opacity .4s ease, transform .4s var(--ease); }
  .site-nav.is-open .nav-list li { opacity: 1; transform: none; }
  .site-nav.is-open .nav-list li:nth-child(1) { transition-delay: .05s; }
  .site-nav.is-open .nav-list li:nth-child(2) { transition-delay: .10s; }
  .site-nav.is-open .nav-list li:nth-child(3) { transition-delay: .15s; }
  .site-nav.is-open .nav-list li:nth-child(4) { transition-delay: .20s; }
  .site-nav.is-open .nav-list li:nth-child(5) { transition-delay: .25s; }
  .site-nav.is-open .nav-list li:nth-child(6) { transition-delay: .30s; }
  .site-nav.is-open .nav-list li:nth-child(7) { transition-delay: .35s; }
  .nav-link { padding: 18px 4px; font-size: 14px; letter-spacing: .3em; }
  .nav-link::after { left: 4px; right: auto; width: 24px; bottom: 12px; }
  .nav-link.is-active::after { transform: scaleX(1); }
  body.nav-open { overflow: hidden; }

  main.wrap { border-left: 0; border-right: 0; }
  .section { padding: 32px var(--gutter); }
  .intro { padding-top: 40px; padding-bottom: 40px; }
  .intro-grid { grid-template-columns: 1fr; gap: 22px; }

  .slide-caption { bottom: 12%; }

  .event-card { grid-template-columns: 1fr; }
  .event-card::before { display: none; }            /* no red edge on mobile */
  .event-flyer { aspect-ratio: 16 / 9; }             /* landscape flyer */
  .event-date { flex-direction: row; gap: 10px; align-items: baseline; justify-content: flex-start; padding: 16px 20px 0; border-right: 0; }
  .event-day { font-size: 30px; }
  .event-body { padding: 14px 20px 20px; }
  .event-body .countdown { max-width: none; }
  .event-side { border-left: 0; border-top: 1px solid var(--line); }

  /* Event detail: one column, tickets right under the details */
  .event-detail {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "facts" "side" "main";
  }
  .event-detail::before { display: none; }
  .ed-date { min-width: 86px; padding: 16px 10px; }
  .ed-titles { padding: 16px 18px; }
  .ed-titles .event-title { font-size: 20px; }
  .ed-titles .event-title2 { font-size: 17px; }
  .ed-fact { padding: 12px 16px; }
  .ed-side { border-left: 0; border-bottom: 1px solid var(--line); }
  .ed-side-inner { position: static; }
  .ed-main { padding: 22px 18px 24px; }
  .artist-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ed-description .text-justify { text-align: left; }   /* justified text tears open in a narrow column */

  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; padding: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat b { font-size: 26px; }
  .wave { display: none; }
  .track { grid-template-columns: 40px 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .nl-form { flex-direction: column; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* Reduced-motion: animations are part of the design, so they stay on.
   Only the scroll-reveal is skipped so content is never hidden. */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
