/* ============================================================================
   BachaZouk Festival — styles.css
   Aesthetic: warm "ember & Black Forest" luxury-editorial.
   Palette pulled from the official 2027 flyer.
   ========================================================================== */


:root {
  /* Palette (from flyer) */
  --char:    #140d0a;   /* near-black smoky base */
  --char-2:  #1d130f;   /* raised panels */
  --char-3:  #271812;   /* cards */
  --ember:   #ed5b22;   /* flame orange */
  --crimson: #b5160c;   /* deep ember red */
  --amber:   #e8923a;   /* warm amber/gold */
  --amber-2: #f4b163;   /* light amber highlight */
  --ivory:   #f5ede2;   /* primary text */
  --ash:     #b7a79b;   /* muted text */
  --mauve:   #a3919b;   /* misty mountain accent — lightened for text contrast (AA) */
  --line:    rgba(245,237,226,.12);

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 64px);

  --serif: 'Bodoni Moda', 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --script: 'Mr Dafoe', cursive;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--char);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain + ember atmosphere over the whole page */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 0% -10%, rgba(237,91,34,.16), transparent 55%),
    radial-gradient(120% 80% at 100% 110%, rgba(181,22,12,.18), transparent 55%);
  mix-blend-mode: screen;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .05;
  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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a, button, [role="button"], input, [tabindex] { touch-action: manipulation; }

/* ---------- Accessibility: focus + skip link ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--amber-2);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible, .artist:focus-visible { outline-offset: 4px; }

.skip-link {
  position: fixed; top: 10px; left: 50%; transform: translate(-50%, -150%);
  z-index: 200; padding: .8em 1.4em; border-radius: 100px;
  background: var(--ember); color: #1a0d07; font-weight: 700; font-size: .9rem;
  transition: transform .25s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); outline-offset: 2px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section { position: relative; z-index: 1; }

/* ---------- Typography helpers ---------- */
.kicker {
  font-family: var(--sans);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .42em; text-transform: uppercase;
  color: var(--amber);
  display: inline-flex; align-items: center; gap: .9em;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--ember)); }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.02; letter-spacing: -.01em; }
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; }
.flame-text {
  background: linear-gradient(92deg, var(--amber-2), var(--ember) 45%, var(--crimson));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 22px 0 18px; }
.section-head p { color: var(--ash); font-size: 1.075rem; max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1.02em 1.7em; border-radius: 100px;
  font-weight: 600; font-size: .92rem; letter-spacing: .02em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
  will-change: transform;
}
.btn--fire {
  color: #1a0d07; background: linear-gradient(95deg, var(--amber-2), var(--ember) 55%, var(--crimson));
  box-shadow: 0 10px 34px -10px rgba(237,91,34,.7), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--fire:hover { transform: translateY(-3px); box-shadow: 0 18px 46px -12px rgba(237,91,34,.85); }
.btn--ghost { color: var(--ivory); border: 1px solid var(--line); backdrop-filter: blur(6px); background: rgba(245,237,226,.03); }
.btn--ghost:hover { border-color: var(--ember); transform: translateY(-3px); color: var(--amber-2); }
.btn--lg { padding: 1.15em 2.1em; font-size: 1rem; }

/* ============================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: padding .4s var(--ease), background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding-top: 14px; padding-bottom: 14px;
  background: rgba(20,13,10,.72); backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; letter-spacing: .005em; display: inline-flex; align-items: baseline; line-height: 1.1; }
.brand .brand-script {
  font-family: var(--script); font-weight: 400; font-size: 1.9rem; line-height: 1;
  margin-left: -.05em; margin-right: -.02em;
  color: var(--ember); /* fallback */
  background: linear-gradient(96deg, var(--ember), var(--crimson));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ash);
  position: relative; padding: 4px 0; transition: color .3s;
}
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--ember); transition: width .35s var(--ease); }
.nav-links a:hover { color: var(--ivory); } .nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 18px; }

.lang {
  display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; overflow: hidden;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
}
.lang button { min-height: 40px; padding: .5em .9em; display: inline-flex; align-items: center; color: var(--ash); transition: color .3s, background .3s; }
.lang button.active { color: #1a0d07; background: var(--amber); }

.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 44px; min-height: 44px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ivory); transition: .3s; }

/* ============================================================================
   HERO
   ========================================================================== */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 120px var(--pad) 92px; position: relative; overflow: hidden; }

/* Hero-only background video — very low opacity, edges fade into the charcoal */
.hero-bg-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .14;
  pointer-events: none; user-select: none;
  -webkit-mask-image: radial-gradient(125% 105% at 50% 42%, #000 22%, transparent 82%);
          mask-image: radial-gradient(125% 105% at 50% 42%, #000 22%, transparent 82%);
}
@media (prefers-reduced-motion: reduce) { .hero-bg-video { display: none; } }

/* Hero date ticker band (full-bleed, bottom edge) */
.hero-ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; overflow: hidden; padding: 15px 0;
  border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(20,13,10,.55));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.hero-ticker .track { display: inline-flex; align-items: center; white-space: nowrap; will-change: transform; animation: marq 42s linear infinite; }
.hero-ticker .item { font-size: .8rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ash); }
.hero-ticker .sep { display: inline-block; width: 6px; height: 6px; background: var(--ember); transform: rotate(45deg); margin: 0 1.5em; box-shadow: 0 0 8px rgba(237,91,34,.6); }
@media (prefers-reduced-motion: reduce) { .hero-ticker .track { animation: none; } }
.hero-grid {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 80px); align-items: center;
  position: relative; z-index: 2;
}
/* WebGL ember field — fixed, behind ALL content; full in hero, dimmed below */
.ember-canvas { position: fixed; inset: 0; z-index: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.ember-canvas.on { opacity: 1; }
.ember-canvas.dim { opacity: .32; }
.hero-eyebrow { margin-bottom: 26px; }
.badge {
  display: inline-flex; align-items: center; gap: .7em; padding: .55em 1.1em; border-radius: 100px;
  border: 1px solid rgba(232,146,58,.4); background: rgba(232,146,58,.08); color: var(--amber-2);
  font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px var(--ember); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.hero h1 { font-size: clamp(3.2rem, 9vw, 7rem); margin: 8px 0 26px; }
.hero h1 .line { display: block; }
.hero h1 .line2 { font-style: italic; font-weight: 500; }
.hero-sub { font-size: 1.18rem; color: var(--ash); max-width: 46ch; margin-bottom: 30px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.chip { display: inline-flex; align-items: center; gap: .55em; padding: .65em 1.05em; border: 1px solid var(--line); border-radius: 12px; font-size: .9rem; font-weight: 500; }
.chip svg { width: 16px; height: 16px; stroke: var(--ember); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

/* Countdown */
.countdown-label { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--mauve); margin-bottom: 12px; }
.countdown { display: flex; gap: clamp(14px, 3vw, 30px); }
.cd-unit { text-align: left; }
.cd-num { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.cd-lbl { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); margin-top: 8px; }

/* Hero portal — Freiburg Münster gothic arch holding the video */
.portal { position: relative; aspect-ratio: 3/4; width: 100%; max-width: 420px; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.arch-glow {
  position: absolute; inset: -5%; clip-path: url(#archClip);
  background: conic-gradient(from 210deg, var(--crimson), var(--ember), var(--amber-2), var(--ember), var(--crimson));
  filter: blur(22px); opacity: .82; animation: spin 22s linear infinite;
}
.portal-media {
  position: absolute; inset: 0; clip-path: url(#archClip); overflow: hidden;
  box-shadow: inset 0 0 90px rgba(20,13,10,.75);
}
.portal-media video, .portal-media img { width: 100%; height: 100%; object-fit: cover; }
.portal-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 115%, rgba(181,22,12,.55), transparent 55%); mix-blend-mode: multiply; }
.arch-outline { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 0 14px rgba(237,91,34,.45)); }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--mauve); }
.scroll-cue .bar { width: 1px; height: 40px; background: linear-gradient(var(--ember), transparent); animation: drop 1.8s var(--ease) infinite; }
@keyframes drop { 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} }

/* ============================================================================
   MANIFESTO
   ========================================================================== */
.manifesto { padding: clamp(90px, 14vw, 180px) 0; text-align: center; }
.manifesto .wrap { max-width: 920px; }
.manifesto h2 { font-size: clamp(2.6rem, 7vw, 5.2rem); margin: 24px 0 28px; }
.manifesto p { font-size: clamp(1.1rem, 2.2vw, 1.45rem); color: var(--ash); line-height: 1.7; }
.equation { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.equation .top { font-family: var(--sans); font-weight: 600; letter-spacing: .3em; color: var(--ash); font-size: clamp(.8rem,2vw,1rem); }
.equation .result { font-family: var(--serif); font-weight: 800; font-size: clamp(2rem, 6vw, 3.6rem); letter-spacing: .02em; }
.equation .rule { width: 1px; height: 34px; background: linear-gradient(var(--ember), transparent); }

/* ============================================================================
   EXPERIENCE
   ========================================================================== */
.experience { padding: clamp(70px, 9vw, 120px) 0; }
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.exp-cell {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 232px; padding: clamp(28px, 2.4vw, 42px);
  background: linear-gradient(180deg, var(--char-2), rgba(20,13,10,.55));
  border: 1px solid var(--line); border-radius: 18px;
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.exp-cell::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--ember), var(--crimson) 60%, transparent);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .55s var(--ease);
}
.exp-cell:hover { transform: translateY(-6px); border-color: rgba(232,146,58,.45); box-shadow: 0 26px 54px -30px rgba(237,91,34,.55); }
.exp-cell:hover::before { transform: scaleX(1); }
.exp-cell.feature {
  grid-column: span 2;
  background: radial-gradient(130% 140% at 0% 0%, rgba(237,91,34,.20), var(--char-2) 55%);
  border-color: rgba(237,91,34,.28);
}
.exp-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.exp-ic { color: var(--ember); display: inline-flex; filter: drop-shadow(0 0 10px rgba(237,91,34,.35)); }
.exp-ic svg { width: 30px; height: 30px; }
.exp-num { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--amber-2); letter-spacing: .14em; }
.exp-cell h3 { font-size: 1.55rem; margin: 0 0 11px; }
.exp-cell.feature h3 { font-size: clamp(1.8rem, 2.4vw, 2.3rem); }
.exp-cell p { color: var(--ash); font-size: .98rem; max-width: 46ch; }

/* ============================================================================
   VENUE
   ========================================================================== */
.venue { padding: clamp(70px, 9vw, 120px) 0; }
.venue-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.venue-media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; }
.venue-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.venue-media:hover img { transform: scale(1.06); }
.venue-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20,13,10,.55)); }
.venue-addr { margin-top: 26px; font-size: .92rem; color: var(--amber-2); letter-spacing: .02em; }
.venue-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.venue-tags span { padding: .5em 1em; border: 1px solid var(--line); border-radius: 100px; font-size: .82rem; color: var(--ash); }

/* ============================================================================
   LINEUP
   ========================================================================== */
.lineup { padding: clamp(70px, 9vw, 120px) 0; }
.lineup-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.artist {
  position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 9/16;
  border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.artist img { width: 100%; height: 100%; object-fit: cover; }
.artist-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease); z-index: 1; }
.artist.has-clip:hover .artist-clip { opacity: 1; }
.live-tag {
  position: absolute; left: 10px; top: 10px; z-index: 3; display: inline-flex; align-items: center; gap: .45em;
  padding: .28em .6em .28em .55em; border-radius: 100px; font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ivory); background: rgba(20,13,10,.55); backdrop-filter: blur(4px); border: 1px solid rgba(245,237,226,.14);
}
.live-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 8px var(--ember); animation: pulse 1.8s infinite; }
.artist:hover { transform: translateY(-8px); box-shadow: 0 24px 50px -22px rgba(237,91,34,.55); }
.artist::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(245,237,226,.05); border-radius: 14px; }
.artist.more {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(237,91,34,.18), var(--char-2)); padding: 20px;
}
.artist.more .plus { font-family: var(--serif); font-size: 2.6rem; color: var(--ember); line-height: 1; }
.artist.more b { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.artist.more span { font-size: .8rem; color: var(--ash); }

/* ============================================================================
   THE CUP
   ========================================================================== */
.cup { padding: clamp(80px, 11vw, 150px) 0; position: relative; overflow: hidden; }
.cup .wrap { max-width: 820px; text-align: center; position: relative; z-index: 2; }
.cup::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(80% 120% at 50% 0%, rgba(181,22,12,.32), transparent 60%);
}
.cup h2 { font-size: clamp(3rem, 10vw, 6.5rem); margin: 22px 0 24px; }
.cup p { color: var(--ash); font-size: 1.12rem; max-width: 56ch; margin: 0 auto 22px; }
.cup-meta { font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; color: var(--amber-2); margin-bottom: 34px; }

/* ============================================================================
   TICKETS
   ========================================================================== */
.tickets { padding: clamp(70px, 9vw, 120px) 0; }
.eb-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px;
  margin-bottom: 46px; padding: 16px 22px; border-radius: 14px;
  background: linear-gradient(90deg, rgba(181,22,12,.16), rgba(237,91,34,.16));
  border: 1px solid rgba(237,91,34,.3); text-align: center;
}
.eb-banner .lbl { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--amber-2); }
.eb-timer { display: flex; gap: 14px; font-variant-numeric: tabular-nums; }
.eb-timer b { font-family: var(--serif); font-size: 1.5rem; }
.eb-timer small { display: block; font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ash); }

.tk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tk-card {
  position: relative; display: flex; flex-direction: column; padding: 34px;
  background: var(--char-2); border: 1px solid var(--line); border-radius: 20px; transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.tk-card:hover { transform: translateY(-6px); border-color: rgba(232,146,58,.4); }
.tk-card.featured {
  background: linear-gradient(180deg, rgba(237,91,34,.1), var(--char-2));
  border-color: rgba(237,91,34,.5); box-shadow: 0 30px 70px -34px rgba(237,91,34,.6);
}
.tk-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: .4em 1em; border-radius: 100px; background: linear-gradient(95deg, var(--amber), var(--ember)); color: #1a0d07; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.tk-name { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin-bottom: 8px; }
.tk-desc { color: var(--ash); font-size: .92rem; min-height: 3.2em; margin-bottom: 18px; }
.tk-price { font-family: var(--serif); font-weight: 700; font-size: 3rem; line-height: 1; margin-bottom: 4px; }
.tk-price small { font-family: var(--sans); font-size: .8rem; font-weight: 500; color: var(--ash); letter-spacing: .1em; text-transform: uppercase; }
.tk-scarce { display: inline-flex; align-items: center; gap: .5em; margin: 14px 0 4px; font-size: .82rem; color: var(--amber-2); font-weight: 600; }
.tk-scarce .bar { flex: 1; height: 5px; border-radius: 3px; background: rgba(245,237,226,.1); overflow: hidden; min-width: 90px; }
.tk-scarce .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--ember), var(--crimson)); border-radius: 3px; }
.tk-feats { list-style: none; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 11px; }
.tk-feats li { display: flex; gap: .7em; font-size: .9rem; color: var(--ivory); }
.tk-feats li svg { width: 17px; height: 17px; stroke: var(--ember); flex-shrink: 0; margin-top: 3px; }
.tk-card .btn { margin-top: auto; width: 100%; }
.tk-note { text-align: center; color: var(--mauve); font-size: .8rem; margin-top: 26px; }

/* ============================================================================
   PROOF / STATS
   ========================================================================== */
.proof { padding: clamp(70px, 9vw, 120px) 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.stat { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--char-2); text-align: center; }
.stat .n { font-family: var(--serif); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; }
.stat .l { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); margin-top: 10px; }

/* ============================================================================
   FINAL CTA
   ========================================================================== */
.final { padding: clamp(90px, 14vw, 170px) 0; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 50% 120%, rgba(237,91,34,.32), transparent 60%); }
.final .wrap { position: relative; z-index: 2; max-width: 760px; }
.final h2 { font-size: clamp(2.8rem, 9vw, 6rem); margin-bottom: 22px; }
.final p { color: var(--ash); font-size: 1.12rem; max-width: 48ch; margin: 0 auto 28px; }
.final .countdown { justify-content: center; margin-bottom: 40px; }
.final .hero-cta { justify-content: center; }

/* ============================================================================
   FAQ
   ========================================================================== */
.faq { padding: clamp(70px, 9vw, 120px) 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 4px; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; transition: color .3s; }
.faq-q:hover { color: var(--amber-2); }
.faq-q .ic { width: 22px; height: 22px; position: relative; flex-shrink: 0; }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: var(--ember); transition: transform .35s var(--ease); }
.faq-q .ic::after { transform: rotate(90deg); }
.faq-item.open .ic::after { transform: rotate(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { padding: 0 4px 26px; color: var(--ash); max-width: 60ch; }

/* ============================================================================
   FOOTER
   ========================================================================== */
.footer { padding: clamp(60px, 8vw, 90px) 0 40px; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; margin-bottom: 50px; }
.footer .brand { font-size: 2rem; }
.footer-tag { color: var(--ash); margin-top: 10px; font-style: italic; font-family: var(--serif); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 50px; }
.footer-col h4 { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mauve); margin-bottom: 16px; font-family: var(--sans); font-weight: 600; }
.footer-col a, .footer-col p { display: block; color: var(--ash); font-size: .92rem; margin-bottom: 9px; transition: color .3s; }
.footer-col a:hover { color: var(--amber-2); }
.socials { display: flex; gap: 12px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: .3s; }
.socials a:hover { border-color: var(--ember); color: var(--amber-2); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--mauve); }
.footer-bot a { color: var(--mauve); }
.footer-bot a:hover { color: var(--ash); }

/* ============================================================================
   SCHEDULE
   ========================================================================== */
.schedule { padding: clamp(70px, 9vw, 120px) 0; }
.sched-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sched-day { background: var(--char-2); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 2.6vw, 34px); }
.sched-day-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.sched-day-head .d { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; }
.sched-day-head .dt { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-2); }
.sched-item { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px dashed rgba(245,237,226,.08); }
.sched-item:last-child { border-bottom: none; }
.sched-item .tm { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ash); min-width: 48px; font-size: .92rem; padding-top: 1px; }
.sched-item .ti { font-size: .98rem; }
.sched-item .tag { display: inline-block; margin-top: 5px; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; padding: .25em .7em; border-radius: 100px; border: 1px solid var(--line); color: var(--ash); }
.sched-item .tag.workshop { color: var(--amber-2); border-color: rgba(232,146,58,.4); }
.sched-item .tag.party { color: #fff; background: linear-gradient(95deg, var(--ember), var(--crimson)); border-color: transparent; }
.sched-item .tag.cup { color: var(--ember); border-color: rgba(237,91,34,.5); }

/* ============================================================================
   STAY
   ========================================================================== */
.stay { padding: clamp(70px, 9vw, 120px) 0; }
.stay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stay-card { position: relative; overflow: hidden; background: var(--char-2); border: 1px solid var(--line); border-radius: 18px; padding: clamp(28px, 3vw, 40px); transition: transform .4s var(--ease), border-color .4s var(--ease); }
.stay-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 0% 0%, rgba(237,91,34,.12), transparent 55%); opacity: 0; transition: opacity .4s var(--ease); }
.stay-card:hover { transform: translateY(-6px); border-color: rgba(232,146,58,.4); }
.stay-card:hover::before { opacity: 1; }
.stay-card > * { position: relative; }
.stay-icon { font-size: 1.6rem; color: var(--ember); margin-bottom: 18px; }
.stay-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.stay-card p { color: var(--ash); font-size: .96rem; }

/* ============================================================================
   LINEUP — clickable affordance
   ========================================================================== */
.artist:not(.more) { cursor: pointer; }
.artist:not(.more)::before {
  content: "↗"; position: absolute; z-index: 2; top: 10px; right: 12px;
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(20,13,10,.55); backdrop-filter: blur(4px); color: var(--ivory);
  font-size: .9rem; opacity: 0; transform: translateY(-4px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.artist:not(.more):hover::before { opacity: 1; transform: none; }

/* ============================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; gap: clamp(8px, 3vw, 40px);
  padding: 5vh clamp(12px, 4vw, 60px);
  background: rgba(10,6,4,.92); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.lightbox.open { display: flex; opacity: 1; }
.lb-figure { margin: 0; max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lb-figure img { max-height: 82vh; max-width: min(78vw, 460px); border-radius: 14px; box-shadow: 0 40px 100px -30px #000, 0 0 0 1px var(--line); }
.lb-figure figcaption { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--ivory); }
.lb-close { position: absolute; top: 22px; right: 26px; font-size: 2.4rem; line-height: 1; color: var(--ash); transition: color .3s, transform .3s; }
.lb-close:hover { color: var(--amber-2); transform: rotate(90deg); }
.lb-nav { font-size: 2.6rem; color: var(--ivory); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(245,237,226,.04); transition: .3s; flex-shrink: 0; }
.lb-nav:hover { border-color: var(--ember); color: var(--amber-2); background: rgba(237,91,34,.1); }

/* ============================================================================
   STICKY MINI CTA BAR
   ========================================================================== */
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; transform: translateY(120%); transition: transform .5s var(--ease); }
.cta-bar.show { transform: none; }
.cta-bar-inner { display: flex; align-items: center; gap: 24px; padding: 12px clamp(16px,4vw,44px);
  background: rgba(20,13,10,.9); backdrop-filter: blur(18px) saturate(1.2); border-top: 1px solid rgba(237,91,34,.28);
  box-shadow: 0 -20px 50px -30px #000; }
.cta-bar-info { display: flex; flex-direction: column; line-height: 1.25; }
.cta-bar-title { font-family: var(--serif); font-weight: 600; font-size: 1.06rem; }
.cta-bar-meta { font-size: .78rem; color: var(--ash); }
.cta-bar-cd { display: flex; gap: 18px; margin-left: auto; font-variant-numeric: tabular-nums; }
.cta-bar-cd b { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; }
.cta-bar-cd i { display: block; font-style: normal; font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }
.cta-bar-btn { padding: .85em 1.5em; white-space: nowrap; }
@media (max-width: 680px) {
  .cta-bar-meta, .cta-bar-cd { display: none; }
  .cta-bar-btn { margin-left: auto; }
  .cta-bar-inner { padding: 10px 16px; gap: 12px; }
}

/* ============================================================================
   EDITORIAL FLOURISHES — spine, name marquee, watermark, ornament
   ========================================================================== */
/* Vertical masthead spine (desktop only, lives in the page gutter) */
.spine { position: fixed; left: 18px; top: 0; bottom: 0; z-index: 40; display: none; align-items: center; pointer-events: none; }
@media (min-width: 1400px) { .spine { display: flex; } }
.spine-inner { writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: center; gap: 20px;
  font-size: .66rem; font-weight: 600; letter-spacing: .38em; text-transform: uppercase; color: var(--mauve); }
.spine-inner .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px var(--ember); animation: pulse 2.4s infinite; }

/* Infinite script marquee of artist names */
.name-marquee { overflow: hidden; margin: 4px 0 40px; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.name-marquee .track { display: inline-flex; align-items: center; white-space: nowrap; will-change: transform; animation: marq 52s linear infinite; }
.name-marquee:hover .track { animation-play-state: paused; }
.name-marquee .item { font-family: var(--script); font-size: clamp(1.7rem, 3vw, 2.8rem); color: var(--ivory); opacity: .9; padding: 0 .4em; line-height: 1.4; }
.name-marquee .sep { display: inline-block; width: 7px; height: 7px; background: var(--ember); transform: rotate(45deg); margin: 0 .5em; box-shadow: 0 0 10px rgba(237,91,34,.6); }
@keyframes marq { to { transform: translateX(-50%); } }

/* Oversized outlined watermark */
.final-wm { position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%); z-index: 0; pointer-events: none;
  font-family: var(--serif); font-weight: 800; font-size: clamp(4rem, 19vw, 17rem); letter-spacing: -.03em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(245,237,226,.07); }

/* Ember ornament divider between sections */
.ornament { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 6px 0; }
.ornament span { height: 1px; width: min(140px, 20vw); }
.ornament span:first-child { background: linear-gradient(90deg, transparent, var(--line)); }
.ornament span:last-child { background: linear-gradient(90deg, var(--line), transparent); }
.ornament i { width: 8px; height: 8px; background: var(--ember); transform: rotate(45deg); box-shadow: 0 0 14px var(--ember); }

@media (prefers-reduced-motion: reduce) {
  .name-marquee .track { animation: none; }
  .spine-inner .dot { animation: none; }
}

/* ============================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ============================================================================
   ADVANCED FX — scroll progress, custom cursor, tilt
   ========================================================================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 60;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--amber-2), var(--ember) 50%, var(--crimson));
  box-shadow: 0 0 16px rgba(237,91,34,.7); pointer-events: none;
}
/* Custom ember cursor (desktop pointers only; enhancement, native cursor stays) */
.cursor-glow, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none; border-radius: 50%; mix-blend-mode: screen; will-change: transform; opacity: 0; transition: opacity .4s ease; }
.cursor-glow { width: 34px; height: 34px; margin: -17px 0 0 -17px; background: radial-gradient(circle, rgba(237,91,34,.55), rgba(181,22,12,0) 70%); }
.cursor-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--amber-2); box-shadow: 0 0 10px var(--ember); }
body.cursor-ready .cursor-glow, body.cursor-ready .cursor-dot { opacity: 1; }
.cursor-glow.hot { width: 56px; height: 56px; margin: -28px 0 0 -28px; }

.artist { will-change: transform; transform-style: preserve-3d; }
.btn--fire { will-change: transform; }

@media (hover: none), (pointer: coarse) {
  .cursor-glow, .cursor-dot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ember-canvas, .cursor-glow, .cursor-dot, .scroll-progress { display: none !important; }
}

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .lineup-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px); flex-direction: column; justify-content: center; gap: 26px; padding: 40px;
    background: rgba(20,13,10,.96); backdrop-filter: blur(20px); transform: translateX(100%); transition: transform .45s var(--ease); border-left: 1px solid var(--line); }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .portal { order: -1; max-width: 320px; }
  .hero { padding-top: 100px; text-align: left; }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-cell.feature { grid-column: span 2; }
  .venue-grid { grid-template-columns: 1fr; }
  .lineup-grid { grid-template-columns: repeat(3, 1fr); }
  .tk-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .tk-card.featured { order: -1; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .sched-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .stay-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .lb-nav { position: fixed; bottom: 20px; width: 48px; height: 48px; font-size: 2rem; }
  .lb-prev { left: 28%; } .lb-next { right: 28%; }
}
@media (max-width: 560px) {
  .exp-grid { grid-template-columns: 1fr; }
  .exp-cell.feature { grid-column: auto; }
  .lineup-grid { grid-template-columns: repeat(2, 1fr); }
  .countdown { gap: 16px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .nav-links { width: 100vw; }
}

/* ============================================================================
   v5 ADDITIONS — compact manifesto, highlight cards, music connection,
   venue slideshow, poster marquee, timetable, cup format, hotels, travel map
   ========================================================================== */
.nav-links { gap: 26px; }
.nav-links a { font-size: .78rem; }

/* Manifesto — compact */
.manifesto--compact { padding: clamp(60px, 9vw, 110px) 0; }
.manifesto--compact h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); margin: 20px 0 18px; }
.manifesto--compact p { font-size: clamp(1rem, 1.8vw, 1.2rem); max-width: 56ch; margin: 0 auto; }
.manifesto--compact .equation { margin-top: 36px; gap: 10px; }
.manifesto--compact .equation .result { font-size: clamp(1.6rem, 4.5vw, 2.8rem); }

/* Experience — highlight line + link */
.exp-hl { margin-top: 14px; padding: 10px 14px; border-left: 2px solid var(--ember); background: rgba(237,91,34,.08); color: var(--ivory) !important; font-weight: 500; font-size: .95rem !important; border-radius: 0 10px 10px 0; }
.exp-link { display: inline-flex; align-items: center; gap: .4em; margin-top: 14px; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-2); transition: color .3s, gap .3s; }
.exp-link:hover { color: var(--ivory); gap: .7em; }

/* Music Connection */
.connection { padding: clamp(70px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.connection::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 85% 50%, rgba(237,91,34,.14), transparent 60%); pointer-events: none; }
.conn-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(30px, 5vw, 70px); align-items: center; position: relative; z-index: 1; }
.conn-copy h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin: 22px 0 22px; }
.conn-copy p { color: var(--ash); font-size: 1.05rem; max-width: 62ch; margin-bottom: 18px; line-height: 1.7; }
.conn-copy .btn { margin-top: 10px; }
.conn-card { position: relative; padding: clamp(28px, 3vw, 44px); border: 1px solid rgba(237,91,34,.35); border-radius: 22px; background: linear-gradient(180deg, rgba(237,91,34,.12), var(--char-2)); box-shadow: 0 30px 70px -40px rgba(237,91,34,.6); }
.conn-num { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; }
.conn-num b { font-family: var(--serif); font-size: clamp(4rem, 8vw, 6.5rem); line-height: .9; background: linear-gradient(92deg, var(--amber-2), var(--ember) 45%, var(--crimson)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.conn-num span { font-size: .8rem; letter-spacing: .26em; text-transform: uppercase; color: var(--amber-2); }
.conn-feats { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.conn-feats li { padding-left: 22px; position: relative; font-size: .98rem; }
.conn-feats li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--ember); transform: rotate(45deg); box-shadow: 0 0 10px rgba(237,91,34,.6); }

/* Venue — slideshow + "thought of everything" */
.venue-slides { aspect-ratio: 4/3; background: var(--char-2); }
.venue-slides .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.4s var(--ease), transform 6s linear; }
.venue-slides .slide.on { opacity: 1; transform: scale(1); }
.venue-slides::after { z-index: 1; }
.slide-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; justify-content: center; gap: 7px; }
.slide-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(245,237,226,.35); cursor: pointer; transition: background .3s, transform .3s; }
.slide-dots i.on { background: var(--ember); transform: scale(1.3); box-shadow: 0 0 8px var(--ember); }
.venue-every { margin-top: 26px; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--amber-2); }
.venue-tags { margin-top: 12px; }
.venue-addr a { color: var(--ivory); border-bottom: 1px solid var(--line); }
.venue-addr a:hover { color: var(--amber-2); border-color: var(--amber-2); }
@media (prefers-reduced-motion: reduce) { .venue-slides .slide { transform: none; transition: opacity .6s; } }

/* Lineup — compact poster marquee */
.lineup .section-head { margin-bottom: 30px; }
.poster-marquee { overflow: hidden; user-select: none; padding: 10px 0 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.poster-marquee .track { display: flex; gap: 14px; width: max-content; will-change: transform; animation: marq 70s linear infinite; }
.poster-marquee:hover .track, .poster-marquee:focus-within .track { animation-play-state: paused; }
.poster { position: relative; flex: 0 0 150px; aspect-ratio: 9/16; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); cursor: pointer; transition: transform .45s var(--ease), box-shadow .45s var(--ease); background: var(--char-2); }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster:hover { transform: translateY(-8px); box-shadow: 0 24px 50px -22px rgba(237,91,34,.55); }
.poster .artist-clip { z-index: 1; }
.poster.has-clip:hover .artist-clip { opacity: 1; }
.lineup-count { text-align: center; color: var(--ash); font-size: .9rem; margin-top: 10px; }
.lineup-count b { font-family: var(--serif); font-size: 1.3rem; color: var(--amber-2); }
@media (prefers-reduced-motion: reduce) { .poster-marquee { overflow-x: auto; } .poster-marquee .track { animation: none; } }

/* Timetable */
.tt-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: -30px 0 26px; }
.tt-legend .lg { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; padding: .35em .8em; border-radius: 100px; border: 1px solid var(--line); color: var(--ash); }
.tt-legend .lg.workshop { color: var(--amber-2); border-color: rgba(232,146,58,.45); }
.tt-legend .lg.master { color: var(--ivory); border-color: rgba(244,177,99,.7); background: rgba(244,177,99,.12); }
.tt-legend .lg.cup { color: var(--ember); border-color: rgba(237,91,34,.55); }
.tt-legend .lg.party { color: #fff; background: linear-gradient(95deg, var(--ember), var(--crimson)); border-color: transparent; }
.tt { display: grid; grid-template-columns: 58px repeat(3, minmax(0, 1fr)); grid-template-rows: auto repeat(15, 46px); gap: 0 10px; position: relative; }
.tt-corner { grid-column: 1; grid-row: 1; }
.tt-day { grid-row: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 4px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.tt-day .d { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; }
.tt-day .dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-2); }
.tt-hour { grid-column: 1; font-size: .72rem; color: var(--mauve); font-variant-numeric: tabular-nums; transform: translateY(-.6em); }
.tt-line { grid-column: 1 / -1; border-top: 1px dashed rgba(245,237,226,.07); pointer-events: none; }
.tt-block { position: relative; z-index: 1; margin: 2px 0; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--char-2); overflow: hidden; display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.tt-block .tm { font-size: .64rem; letter-spacing: .08em; color: var(--ash); font-variant-numeric: tabular-nums; }
.tt-block .ti { font-size: .86rem; font-weight: 500; }
.tt-block .sb { font-size: .7rem; color: var(--ash); }
.tt-block.workshop { border-color: rgba(232,146,58,.35); background: linear-gradient(180deg, rgba(232,146,58,.12), var(--char-2)); }
.tt-block.master { border-color: rgba(244,177,99,.7); background: linear-gradient(180deg, rgba(244,177,99,.22), rgba(232,146,58,.08)); }
.tt-block.master .ti { color: var(--amber-2); }
.tt-block.cup { border-color: rgba(237,91,34,.6); background: linear-gradient(180deg, rgba(237,91,34,.22), var(--char-2)); }
.tt-block.cup .ti { color: var(--ember); font-family: var(--serif); font-size: 1.05rem; }
.tt-block.party { border-color: transparent; background: linear-gradient(160deg, var(--ember), var(--crimson)); color: #fff; }
.tt-block.party .tm, .tt-block.party .sb { color: rgba(255,255,255,.8); }
.tt-block.party .ti { font-family: var(--serif); font-size: 1.05rem; }
.tt-block.other { border-style: dashed; color: var(--ash); }
.tt-mobile { display: none; }

/* The Cup — prize, format, dancer backdrop */
.cup-dancers { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.cup-dancers img { position: absolute; bottom: 0; height: 88%; width: auto; opacity: .11; filter: saturate(.5) brightness(.85) blur(1px);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.cup-dancers .cd-l { left: clamp(-60px, 2vw, 60px); }
.cup-dancers .cd-r { right: clamp(-40px, 4vw, 100px); }
.cup-prize { display: inline-flex; align-items: baseline; gap: 12px; margin: 0 0 22px; padding: 10px 22px; border: 1px solid rgba(244,177,99,.5); border-radius: 100px; background: rgba(237,91,34,.08); }
.cup-prize b { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; color: var(--amber-2); }
.cup-prize span { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ash); }
.cup-format { margin: 30px auto 26px; max-width: 640px; text-align: left; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 18px; background: rgba(20,13,10,.6); backdrop-filter: blur(6px); }
.cup-format h3 { font-size: 1.4rem; margin-bottom: 14px; color: var(--amber-2); }
.cup-format ol { list-style: none; counter-reset: f; display: flex; flex-direction: column; gap: 10px; }
.cup-format li { counter-increment: f; display: flex; gap: 14px; font-size: .98rem; color: var(--ivory); }
.cup-format li::before { content: counter(f, decimal-leading-zero); font-family: var(--serif); color: var(--ember); font-size: 1.05rem; flex-shrink: 0; }

/* Hotels */
.stay-head { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: clamp(36px, 5vw, 56px); }
.stay-art { width: clamp(120px, 16vw, 200px); border-radius: 16px; opacity: .9; flex-shrink: 0; }
.hotel-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.hotel { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--char-2); transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.hotel:hover { transform: translateY(-6px); border-color: rgba(232,146,58,.45); box-shadow: 0 26px 54px -30px rgba(237,91,34,.5); }
.hotel-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--char-3); }
.hotel-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.hotel-media img.bg { opacity: .55; filter: saturate(.8); }
.hotel-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--char-2)); }
.hotel:hover .hotel-media img { transform: scale(1.06); }
.hotel-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hotel-tag { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-2); }
.hotel h3 { font-size: 1.12rem; line-height: 1.15; }
.hotel-meta { font-size: .78rem; color: var(--ash); }
.hotel-foot { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.hotel-price { font-family: var(--serif); font-size: 1.35rem; white-space: nowrap; }
.hotel-price small { font-family: var(--sans); font-size: .66rem; color: var(--ash); letter-spacing: .08em; text-transform: uppercase; }
.hotel-cta { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-2); white-space: nowrap; }

/* Travel */
.travel { padding: clamp(70px, 9vw, 120px) 0; }
.travel-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.travel-map { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: radial-gradient(80% 80% at 55% 48%, rgba(237,91,34,.10), var(--char-2) 70%); }
.travel-map svg { display: block; width: 100%; height: auto; }
.tm-grid { stroke: rgba(245,237,226,.04); stroke-width: 1; }
.tm-ring { fill: none; stroke: rgba(237,91,34,.12); stroke-width: 1; stroke-dasharray: 3 6; }
.tm-route { fill: none; stroke: rgba(245,237,226,.16); stroke-width: 1.2; stroke-dasharray: 4 5; }
.tm-route.train, .tm-route.trainVia { stroke: rgba(244,177,99,.4); stroke-dasharray: none; }
.tm-mover { fill: var(--amber-2); filter: drop-shadow(0 0 5px var(--ember)); }
.tm-mover.train, .tm-mover.trainVia { fill: #fff; }
.tm-city { fill: var(--ivory); opacity: .9; r: 4.5px; }
.tm-label { fill: var(--ash); font-family: var(--sans); font-size: 19px; letter-spacing: .04em; }
.tm-hub { fill: var(--ember); }
.tm-hub-glow { fill: rgba(237,91,34,.28); animation: hubpulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes hubpulse { 0%,100% { transform: scale(1); opacity: .5 } 50% { transform: scale(1.5); opacity: .15 } }
.tm-hub-label { fill: var(--ivory); font-family: var(--serif); font-size: 22px; font-weight: 700; }
.travel-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.travel-table th { text-align: left; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mauve); padding: 0 8px 12px; border-bottom: 1px solid var(--line); font-weight: 600; }
.travel-table td { padding: 11px 8px; border-bottom: 1px solid rgba(245,237,226,.07); vertical-align: middle; }
.travel-table td small { color: var(--mauve); font-size: .7rem; margin-left: 4px; }
.travel-table .price { color: var(--amber-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.travel-table .mode { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--ivory); }
.travel-table .mode.fly, .travel-table .mode.flyFra { background: var(--ember); box-shadow: 0 0 8px rgba(237,91,34,.6); }
.travel-table .mode.train, .travel-table .mode.trainVia { background: var(--amber-2); }
.travel-table tr.more { display: none; }
.travel-table.all tr.more { display: table-row; }
.travel-more { margin-top: 18px; width: 100%; }

/* Responsive for v5 sections */
@media (max-width: 1100px) { .hotel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .conn-grid, .travel-grid { grid-template-columns: 1fr; }
  .hotel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stay-head { flex-direction: column; align-items: flex-start; }
  .stay-art { width: 120px; }
  .tt { display: block; }
  .tt > *:not(.tt-mobile) { display: none; }
  .tt-mobile { display: flex; flex-direction: column; gap: 28px; }
  .tt-mday .tt-day { margin-bottom: 10px; }
  .tt-mday .tt-block { margin: 6px 0; }
  .tt-block .ti { font-size: .95rem; }
  .tm-label { font-size: 20px; }
  .cup-dancers img { opacity: .1; }
}
@media (max-width: 560px) {
  .hotel-grid { grid-template-columns: 1fr; }
  .poster { flex-basis: 120px; }
  .tm-label { display: none; }
  .travel-table th:nth-child(3), .travel-table td:nth-child(3) { display: none; }
  .cup-format li { font-size: .92rem; }
}
/* nav CTA: never wrap; hide on small phones (hero CTA + sticky bar cover it) */
.nav .btn--fire { white-space: nowrap; }
@media (max-width: 600px) { .nav > .nav-right > .btn--fire { display: none; } }

/* ============================================================================
   v5.1 — 5 cards, editorial highlight, singer backdrop, big venue, map background
   ========================================================================== */
.exp-cell.wide { grid-column: span 3; }
.exp-hl { margin-top: 16px; padding: 0 0 0 18px; border-left: 1px solid rgba(244,177,99,.5); background: none; border-radius: 0;
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.15rem !important; line-height: 1.4; color: var(--amber-2) !important; max-width: 34ch; }
.exp-cell.feature .exp-hl { font-size: 1.3rem !important; }

/* Music Connection — singer backdrop */
.connection { padding: clamp(90px, 11vw, 150px) 0; }
.connection::before { display: none; }
.conn-bg { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; }
.conn-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(.35) sepia(.35) contrast(1.05); }
.conn-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, var(--char) 0%, rgba(20,13,10,.55) 18%, rgba(20,13,10,.55) 82%, var(--char) 100%),
  linear-gradient(90deg, rgba(20,13,10,.85) 0%, rgba(20,13,10,.45) 50%, rgba(20,13,10,.7) 100%); }
.conn-copy p { color: var(--ivory); opacity: .9; }
.conn-card { background: linear-gradient(180deg, rgba(237,91,34,.16), rgba(20,13,10,.88)); backdrop-filter: blur(8px); }
.conn-credit { position: absolute; right: var(--pad); bottom: 12px; z-index: 1; font-size: .62rem; letter-spacing: .06em; color: var(--mauve); opacity: .8; }

/* Venue — full-width slideshow, bigger text */
.venue--big { padding: 0 0 clamp(70px, 9vw, 120px); }
.venue-slides--big { position: relative; width: 100%; aspect-ratio: 21/9; min-height: 420px; max-height: 80vh; border-radius: 0; overflow: hidden; }
.venue-slides--big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,13,10,.45) 0%, transparent 28%, transparent 55%, var(--char) 100%); }
.venue-slides--big .slide-dots { bottom: 30px; }
.venue-slides--big .slide-dots i { width: 9px; height: 9px; }
.venue-copy--big { position: relative; z-index: 2; margin-top: -90px; text-align: center; max-width: 900px; }
.venue-copy--big .kicker { justify-content: center; }
.venue-copy--big h2 { font-size: clamp(2.8rem, 6.5vw, 5rem); margin: 20px 0 16px; }
.venue-copy--big > p { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--ivory); opacity: .9; }
.venue-copy--big .venue-every { margin-top: 34px; font-size: .78rem; }
.venue-copy--big .venue-tags { justify-content: center; gap: 12px; margin-top: 16px; }
.venue-copy--big .venue-tags span { font-size: 1rem; padding: .7em 1.3em; color: var(--ivory); border-color: rgba(245,237,226,.22); }
.venue-copy--big .venue-addr { font-size: 1.05rem; margin-top: 32px; }

/* Travel — Europe map as section background */
.travel--map { position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; padding: clamp(90px, 10vw, 140px) 0; }
.travel-bg { position: absolute; inset: 0; z-index: 0; }
.travel-bg svg { width: 100%; height: 100%; display: block; }
.travel-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(75% 75% at 50% 50%, transparent 35%, rgba(20,13,10,.85) 100%), linear-gradient(180deg, var(--char), transparent 14%, transparent 86%, var(--char)); pointer-events: none; }
.tm-land { fill: rgba(245,237,226,.05); stroke: rgba(244,177,99,.22); stroke-width: 1.2; stroke-linejoin: round; }
.tm-ring { stroke: rgba(237,91,34,.16); stroke-dasharray: 4 8; }
.tm-route { stroke: rgba(245,237,226,.22); stroke-width: 1.6; stroke-dasharray: 6 7; }
.tm-route.train, .tm-route.trainVia { stroke: rgba(244,177,99,.5); }
.tm-city { r: 5.5px; }
.tm-label { font-size: 24px; fill: var(--ivory); opacity: .85; paint-order: stroke; stroke: rgba(20,13,10,.8); stroke-width: 6px; stroke-linejoin: round; }
.tm-hub-label { font-size: 34px; paint-order: stroke; stroke: rgba(20,13,10,.85); stroke-width: 8px; }
.travel-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(380px, 480px); gap: clamp(30px, 5vw, 80px); align-items: end; width: 100%; }
.travel-content .section-head { margin-bottom: 0; max-width: 560px; }
.travel-content .section-head h2 { text-shadow: 0 4px 30px rgba(20,13,10,.9); }
.travel-content .section-head p { color: var(--ivory); opacity: .9; text-shadow: 0 2px 16px rgba(20,13,10,.9); }
.travel-note { text-align: left; margin-top: 18px; }
.travel-panel { background: rgba(20,13,10,.78); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 2.4vw, 28px); }
@media (max-width: 900px) {
  .travel-content { grid-template-columns: 1fr; align-items: start; }
  .travel--map { min-height: 0; }
  .venue-slides--big { aspect-ratio: 4/3; min-height: 0; }
  .venue-copy--big { margin-top: -50px; }
  .conn-bg { grid-template-columns: repeat(3, 1fr); }
  .conn-bg img:nth-child(n+4) { display: none; }
  .exp-cell.wide { grid-column: span 2; }
}
@media (max-width: 560px) { .exp-cell.wide { grid-column: auto; } .tm-label { display: none; } }
/* v5.1 polish */
.venue-slides--big .slide-dots { top: 22px; right: 22px; left: auto; bottom: auto; justify-content: flex-end; }
.travel--map { min-height: min(100vh, 940px); }

/* debug: ?noanim also disables backdrop blur (headless screenshots drop blurred layers) */
body.noanim .travel-panel, body.noanim .conn-card, body.noanim .cup-format { backdrop-filter: none; }
/* travel: keep the heading readable over the map */
.travel-bg::after { background:
  linear-gradient(90deg, rgba(20,13,10,.92) 0%, rgba(20,13,10,.72) 28%, rgba(20,13,10,.15) 50%, transparent 62%),
  radial-gradient(75% 75% at 55% 50%, transparent 40%, rgba(20,13,10,.85) 100%),
  linear-gradient(180deg, var(--char), transparent 14%, transparent 86%, var(--char)); }
.travel-panel { background: rgba(20,13,10,.9); }
@media (max-width: 900px) { .travel-bg::after { background: linear-gradient(180deg, var(--char), rgba(20,13,10,.6) 30%, rgba(20,13,10,.6) 70%, var(--char)); } }

/* ============================================================================
   v5.2 — singer strip, venue behind lineup, list timetable, photo cards, travel split
   ========================================================================== */
/* Music Connection: very slow sliding strip, images melt into each other */
.conn-bg { display: none; }
.conn-strip { position: absolute; inset: 0; z-index: 0; overflow: hidden; display: flex; align-items: center; }
.conn-strip .track { display: flex; align-items: center; width: max-content; will-change: transform; animation: strip 170s linear infinite; }
.conn-strip img { flex: 0 0 auto; height: clamp(320px, 50vh, 480px); width: auto; margin-right: -90px; opacity: .55; filter: grayscale(.2) sepia(.2) brightness(.9);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent); }
.conn-strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--char) 0%, rgba(20,13,10,.42) 22%, rgba(20,13,10,.42) 78%, var(--char) 100%); }
@keyframes strip { to { transform: translateX(-50%); } }
.conn-copy h2, .conn-copy p { text-shadow: 0 2px 18px rgba(20,13,10,.9); }
@media (prefers-reduced-motion: reduce) { .conn-strip .track { animation: none; } }

/* Lineup: the venue, very dark, behind the posters */
.lineup { position: relative; overflow: hidden; }
.lineup-bg { position: absolute; inset: 0; z-index: 0; background: url("assets/img/freiburg/08_mak_hall.jpg") center/cover no-repeat; opacity: .13; filter: blur(1.5px) saturate(.5); }
.lineup-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--char), transparent 25%, transparent 75%, var(--char)); }
.lineup > :not(.lineup-bg) { position: relative; z-index: 1; }

/* Timetable: calm 3-column list */
.tt-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; gap: clamp(22px, 3.5vw, 48px); }
.tt-list .tt-day { padding-bottom: 12px; margin-bottom: 4px; }
.tt-row { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tt-row::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ash); flex: 0 0 auto; align-self: center; }
.tt-row .tm { font-variant-numeric: tabular-nums; font-size: .78rem; color: var(--ash); min-width: 98px; white-space: nowrap; }
.tt-row .ti { font-size: .95rem; display: flex; flex-direction: column; gap: 2px; }
.tt-row .ti small { font-size: .74rem; color: var(--ash); }
.tt-row.workshop::before { background: var(--amber); }
.tt-row.master::before { background: var(--amber-2); box-shadow: 0 0 8px rgba(244,177,99,.6); }
.tt-row.master .ti { color: var(--amber-2); }
.tt-row.cup::before { background: var(--ember); box-shadow: 0 0 8px rgba(237,91,34,.6); }
.tt-row.cup .ti { color: var(--ember); font-family: var(--serif); font-size: 1.08rem; }
.tt-row.party { margin: 2px -12px 0; padding: 12px; border-radius: 10px; border-bottom-color: transparent; background: linear-gradient(90deg, rgba(237,91,34,.16), rgba(237,91,34,.03)); }
.tt-row.party::before { background: var(--ember); }
.tt-row.party .ti { font-family: var(--serif); font-size: 1.08rem; }
.tt-row.other { color: var(--mauve); }
.tt-row.other::before { background: transparent; border: 1px solid var(--mauve); }
.tt-legend { margin: -18px 0 28px; }
@media (max-width: 900px) {
  .tt-list { display: grid; grid-template-columns: 1fr; gap: 36px; }
  .tt-list > * { display: block; }
}

/* Experience cards: dark photo backgrounds */
.exp-cell.has-bg::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5; filter: saturate(.7);
  background: linear-gradient(180deg, rgba(20,13,10,.35) 0%, rgba(20,13,10,.92) 100%), var(--bg) center/cover no-repeat; }
.exp-cell.has-bg > * { position: relative; z-index: 1; }

/* Jack & Jill: one wide dancer photo, dark */
.cup-dancers { display: none; }
.cup-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.cup-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .24; filter: saturate(.7); }
.cup-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(20,13,10,.15), rgba(20,13,10,.9)), linear-gradient(180deg, var(--char), transparent 18%, transparent 82%, var(--char)); }

/* Travel: map left, prices right, less text */
.travel--split { min-height: 0; display: block; overflow: visible; padding: clamp(70px, 9vw, 120px) 0; }
.travel--split .section-head { margin-bottom: clamp(26px, 4vw, 44px); max-width: 760px; }
.travel-line { color: var(--ash); font-size: 1.02rem; }
.travel-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(18px, 3vw, 40px); align-items: stretch; }
.travel-map-panel { position: relative; min-height: 440px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 50%, rgba(237,91,34,.10), var(--char-2) 75%); }
.travel-map-panel svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.travel-panel { background: var(--char-2); backdrop-filter: none; display: flex; flex-direction: column; }
.travel-panel .travel-more { margin-top: auto; }
.travel-panel .travel-note { text-align: left; font-size: .74rem; margin-top: 14px; }
.tm-label { font-size: 22px; }
@media (max-width: 900px) {
  .travel-split { grid-template-columns: 1fr; }
  .travel-map-panel { min-height: 0; aspect-ratio: 1.1; }
}
@media (max-width: 560px) { .conn-strip img { height: 280px; margin-right: -60px; } }

/* debug: ?noanim also skips the reveal fade so screenshots show final state */
body.noanim .reveal { transition: none; }

/* ============================================================================
   v5.3 — readability: strip darker, bigger manifesto + J&J, sold-out pass, stay bg
   ========================================================================== */
/* 1 · Music Connection */
.conn-strip img { opacity: .32; }
.conn-strip::after { background:
  linear-gradient(90deg, rgba(20,13,10,.92) 0%, rgba(20,13,10,.78) 42%, rgba(20,13,10,.55) 70%, rgba(20,13,10,.7) 100%),
  linear-gradient(180deg, var(--char) 0%, transparent 18%, transparent 82%, var(--char) 100%); }
.conn-copy h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.conn-copy p { font-size: clamp(1.08rem, 1.5vw, 1.2rem); line-height: 1.75; color: var(--ivory); opacity: 1; text-shadow: 0 2px 14px rgba(20,13,10,1), 0 0 30px rgba(20,13,10,.9); }
.conn-feats li { font-size: 1.05rem; }

/* 2 · Manifesto — bigger, photo behind */
.manifesto--photo { position: relative; overflow: hidden; padding: clamp(110px, 15vw, 200px) 0; }
.manifesto-bg { position: absolute; inset: 0; z-index: 0; background: url("assets/img/stock/manifesto.jpg") center 35%/cover no-repeat; opacity: .22; filter: saturate(.7); }
.manifesto-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(20,13,10,.1), rgba(20,13,10,.85)), linear-gradient(180deg, var(--char), transparent 18%, transparent 82%, var(--char)); }
.manifesto--photo .wrap { position: relative; z-index: 1; max-width: 1000px; }
.manifesto--photo h2 { font-size: clamp(3rem, 7.5vw, 6rem); margin: 22px 0 26px; text-shadow: 0 4px 30px rgba(20,13,10,.9); }
.manifesto--photo p { font-size: clamp(1.25rem, 2.2vw, 1.55rem); color: var(--ivory); line-height: 1.6; max-width: 40ch; text-shadow: 0 2px 16px rgba(20,13,10,.95); }
.manifesto--photo .equation { margin-top: 44px; }
.manifesto--photo .equation .top { font-size: clamp(.95rem, 1.6vw, 1.15rem); color: var(--ivory); }
.manifesto--photo .equation .result { font-size: clamp(2.4rem, 6vw, 4rem); }

/* 3 · Jack & Jill — bigger */
.cup .wrap { max-width: 900px; }
.cup h2 { font-size: clamp(3.6rem, 11vw, 8rem); margin: 20px 0 26px; }
.cup-prize { padding: 14px 30px; gap: 16px; margin-bottom: 28px; }
.cup-prize b { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.cup-prize span { font-size: .86rem; }
.cup p { font-size: clamp(1.15rem, 1.8vw, 1.3rem); color: var(--ivory); max-width: 52ch; line-height: 1.6; text-shadow: 0 2px 14px rgba(20,13,10,.9); }
.cup-format { max-width: 820px; padding: clamp(28px, 3.5vw, 44px); background: rgba(20,13,10,.74); margin: 36px auto 32px; }
.cup-format h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 20px; }
.cup-format ol { gap: 16px; }
.cup-format li { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.5; gap: 18px; }
.cup-format li::before { font-size: 1.3rem; }
.cup-meta { font-size: 1rem; margin-bottom: 36px; color: var(--ivory); }
.cup-cta { font-size: 1.1rem; padding: 1.2em 2.4em; }
.cup-bg img { opacity: .2; }

/* 4 · Sold-out pass */
.tk-card.sold-out { border-color: rgba(245,237,226,.18); box-shadow: none; background: var(--char-2); }
.tk-card.sold-out .tk-price, .tk-card.sold-out .tk-name { color: var(--ash); }
.tk-card.sold-out .tk-scarce { color: var(--mauve); }
.tk-badge--sold { background: var(--ivory); color: var(--char); }
.tk-sold { cursor: default; color: var(--mauve); border-style: dashed; }
.tk-sold:hover { transform: none; border-color: var(--line); color: var(--mauve); }

/* 5 · Stay — hotel lane behind the cards instead of the artwork */
.stay { position: relative; overflow: hidden; }
.stay-bg { position: absolute; inset: 0; z-index: 0; background: url("assets/img/freiburg/06_mak_street.jpg") center 40%/cover no-repeat; opacity: .14; filter: blur(1.5px) saturate(.5); }
.stay-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--char), transparent 25%, transparent 75%, var(--char)); }
.stay > :not(.stay-bg) { position: relative; z-index: 1; }
.stay-head { justify-content: flex-start; }

/* v5.4 — price phases (go&dance): Blind → Early Bird → Winter Sale → Regular */
.tk-tag { display: inline-block; margin-bottom: 10px; padding: .3em .8em; border-radius: 100px; font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-2); border: 1px solid rgba(244,177,99,.45); }
.tk-phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: -22px 0 34px; }
.ph { position: relative; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--char-2); display: flex; flex-direction: column; gap: 4px; }
.ph::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--mauve); font-size: .9rem; }
.ph:last-child::after { display: none; }
.ph-state { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mauve); }
.ph-name { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.ph-price { font-variant-numeric: tabular-nums; color: var(--ash); font-size: .95rem; }
.ph.sold .ph-name, .ph.ended .ph-name { color: var(--ash); text-decoration: line-through; text-decoration-color: rgba(245,237,226,.35); }
.ph.sold .ph-state { color: var(--ivory); }
.ph.now { border-color: var(--ember); background: linear-gradient(180deg, rgba(237,91,34,.16), var(--char-2)); }
.ph.now .ph-state { color: var(--ember); }
.ph.now .ph-price { color: var(--amber-2); font-weight: 600; }
.ph.next { border-style: dashed; }
@media (max-width: 900px) { .tk-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ph::after { display: none; } .ph:nth-child(2)::after { display: none; } }
@media (max-width: 560px) { .tk-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .ph { padding: 12px; } }

/* ============================================================================
   v5.5 — mobile layouts: full-frame singer slides, venue list, hotel side-slides
   ========================================================================== */
.hotel-swipe { display: none; }
.venue-sep { display: inline; }
@media (max-width: 900px) {
  /* 1 · Music Connection: one photo at a time, sliding left */
  .connection { min-height: min(100svh, 820px); display: flex; align-items: center; }
  .conn-strip img { flex: 0 0 100vw; height: 100%; width: 100vw; object-fit: cover; object-position: center top; margin-right: -18vw; opacity: .38;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
  .conn-strip .track { height: 100%; animation-duration: 220s; }
  .conn-strip::after { background:
    linear-gradient(180deg, var(--char) 0%, rgba(20,13,10,.62) 20%, rgba(20,13,10,.62) 80%, var(--char) 100%); }

  /* 2 · Venue: two-column list instead of stacked pills */
  .venue-copy--big .venue-tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin-top: 18px; text-align: left; }
  .venue-copy--big .venue-tags span { border: 0; padding: 0 0 0 18px; position: relative; font-size: .98rem; line-height: 1.35; border-radius: 0; }
  .venue-copy--big .venue-tags span::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; background: var(--ember); transform: rotate(45deg); box-shadow: 0 0 8px rgba(237,91,34,.6); }
  .venue-copy--big .venue-addr { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: .98rem; }
  .venue-sep { display: none; }
  .venue-copy--big .venue-addr a { display: inline-flex; padding: .7em 1.4em; border: 1px solid var(--line); border-radius: 100px; color: var(--ivory); }

  /* 3 · Hotels: horizontal side-slides */
  .hotel-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 78vw; grid-template-columns: none; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--pad) 10px;
    margin: 0 calc(-1 * var(--pad)); -webkit-overflow-scrolling: touch; }
  .hotel-grid::-webkit-scrollbar { display: none; }
  .hotel { scroll-snap-align: center; }
  .hotel-media { aspect-ratio: 16/9; }
  .hotel-swipe { display: block; text-align: center; color: var(--mauve); font-size: .78rem; margin-top: 6px; }
}

/* v5.6 — singer strip: bigger (almost the whole section), a bit faster */
.connection { min-height: min(92vh, 900px); display: flex; align-items: center; }
.conn-strip img { height: calc(100% - 24px); max-height: none; opacity: .42; margin-right: -120px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.conn-strip .track { height: 100%; animation-duration: 115s; }
.conn-strip::after { background:
  linear-gradient(90deg, rgba(20,13,10,.9) 0%, rgba(20,13,10,.7) 40%, rgba(20,13,10,.42) 68%, rgba(20,13,10,.6) 100%),
  linear-gradient(180deg, var(--char) 0%, transparent 14%, transparent 86%, var(--char) 100%); }
@media (max-width: 900px) {
  .conn-strip img { height: 100%; opacity: .5; margin-right: -18vw; }
  .conn-strip .track { animation-duration: 150s; }
}

/* ============================================================================
   v5.7 — Music Connection: fade-through-black slideshow + lively text
   ========================================================================== */
.conn-strip { display: none; }
.conn-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #000; }
.conn-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  opacity: 0; transition: opacity .7s ease-in; filter: saturate(.85); }
.conn-slides img.on { opacity: .5; transition: opacity 1.1s ease-out; }
.conn-slides::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(20,13,10,.9) 0%, rgba(20,13,10,.72) 38%, rgba(20,13,10,.4) 66%, rgba(20,13,10,.6) 100%),
  linear-gradient(180deg, var(--char) 0%, transparent 14%, transparent 86%, var(--char) 100%); }
@media (max-width: 900px) { .conn-slides::after { background: linear-gradient(180deg, var(--char) 0%, rgba(20,13,10,.6) 18%, rgba(20,13,10,.6) 82%, var(--char) 100%); } .conn-slides img.on { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .conn-slides img, .conn-slides img.on { transition: none; } }

.conn-copy p { font-family: var(--sans); }
.conn-copy em { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.14em; line-height: 1; color: var(--amber-2);
  text-shadow: 0 0 18px rgba(237,91,34,.35); white-space: nowrap; }
.conn-tagline { font-family: var(--serif); font-weight: 700; font-style: italic; font-size: clamp(1.7rem, 3.2vw, 2.7rem) !important; line-height: 1.15 !important;
  margin: 10px 0 28px !important; letter-spacing: -.01em; filter: drop-shadow(0 6px 24px rgba(20,13,10,.9)); }
.conn-tagline .w { display: inline-block; }
@media (max-width: 560px) { .conn-copy em { white-space: normal; } }
/* tagline must win over .conn-copy p (sans / ivory) */
.conn-copy .conn-tagline { font-family: var(--serif); font-weight: 700; font-style: italic; opacity: 1;
  background: linear-gradient(92deg, var(--amber-2), var(--ember) 45%, var(--crimson)); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 6px 22px rgba(20,13,10,.95)); }
/* Safari fix: gradient per word (background-clip:text on a parent with transformed children breaks in WebKit) */
.conn-copy .conn-tagline { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--amber-2); filter: none; -webkit-text-fill-color: initial; }
.conn-copy .conn-tagline .w { display: inline-block; background: linear-gradient(92deg, var(--amber-2), var(--ember) 60%, var(--crimson)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding: 0 .02em; margin-right: .22em; text-shadow: none; }

/* v5.8 — singers in a uniform ember duotone: grayscale image + orange multiply layer, same tone every time */
.conn-slides img { filter: grayscale(1) contrast(1.12) brightness(.78); }
.conn-slides img.on { opacity: .6; }
.conn-slides::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, #b5160c 0%, #ed5b22 55%, #e8923a 100%); mix-blend-mode: multiply; opacity: .95; }
.conn-slides::after { z-index: 2; background:
  linear-gradient(90deg, rgba(20,13,10,.88) 0%, rgba(20,13,10,.66) 40%, rgba(20,13,10,.34) 68%, rgba(20,13,10,.5) 100%),
  linear-gradient(180deg, var(--char) 0%, transparent 14%, transparent 86%, var(--char) 100%); }
@media (max-width: 900px) { .conn-slides::after { background: linear-gradient(180deg, var(--char) 0%, rgba(20,13,10,.55) 18%, rgba(20,13,10,.55) 82%, var(--char) 100%); } }

/* v5.9 — marquee pause only on real hover / while lightbox is open (tap-focus used to freeze it on phones);
   city labels visible on phones (main cities only); */
.poster-marquee:hover .track, .poster-marquee:focus-within .track { animation-play-state: running; }
@media (hover: hover) and (pointer: fine) { .poster-marquee:hover .track { animation-play-state: paused; } }
.poster-marquee.paused .track { animation-play-state: paused; }
@media (max-width: 560px) {
  .tm-label { display: block; font-size: 36px; stroke-width: 9px; }
  .tm-label.minor { display: none; }
  .tm-hub-label { font-size: 44px; }
  .tm-city { r: 7px; }
}

/* ============================================================================
   v5.10 — navigation: fix mobile drawer (backdrop-filter made the bar the containing block), faded photo
   ========================================================================== */
.nav { transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease); }
.nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(20,13,10,.94); }
.nav-drawer-cta { display: none; }
.nav-toggle span { transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-links { position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(84vw, 380px); height: 100dvh; z-index: 58;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px;
    padding: 110px 36px 40px; background: var(--char); border-left: 1px solid var(--line); backdrop-filter: none;
    transform: translateX(100%); transition: transform .45s var(--ease); overflow-y: auto; box-shadow: -30px 0 60px rgba(0,0,0,.5); }
  .nav-links::before { content: ""; position: absolute; inset: 0; z-index: 0; background: url("assets/img/stock/card-4.jpg") center/cover no-repeat; opacity: .22; filter: saturate(.7); }
  .nav-links::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--char) 0%, rgba(20,13,10,.55) 30%, rgba(20,13,10,.55) 70%, var(--char) 100%); }
  .nav-links.open { transform: none; }
  .nav-links > * { position: relative; z-index: 1; }
  .nav-links a { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ivory); }
  .nav-links a::after { display: none; }
  .nav-links .nav-drawer-cta { display: inline-flex; margin-top: 18px; font-family: var(--sans); font-size: .95rem; font-weight: 600; color: #1a0d07; padding: 1em 1.8em; }
  .nav-toggle { position: relative; z-index: 60; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 560px) { .nav-links { width: 100vw; border-left: 0; } }

/* keep EN/DE switch + close button above the open drawer */
@media (max-width: 900px) { .nav-right { position: relative; z-index: 60; } }

/* v5.11 — vertical photo in the drawer so the couple is not cut */
@media (max-width: 900px) { .nav-links::before { background: url("assets/img/stock/nav.jpg") center 30%/cover no-repeat; opacity: .24; } }

/* ============================================================================
   v5.12 — intro: the word assembles over the artist video (once per session)
   ========================================================================== */
.intro { position: fixed; inset: 0; z-index: 300; background: linear-gradient(rgba(20,13,10,.45), rgba(20,13,10,.45)), url("assets/opt/img/hero-poster-4x5.jpg") center 30%/cover no-repeat, var(--char); display: flex; align-items: center; justify-content: center; overflow: hidden;
  opacity: 1; transition: opacity .75s var(--ease); cursor: pointer; }
.intro.out { opacity: 0; pointer-events: none; }
body.has-intro { overflow: hidden; }
.intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .55; filter: saturate(.8); }
.intro-ov { position: absolute; inset: 0; background:
  radial-gradient(70% 70% at 50% 55%, rgba(20,13,10,.2), rgba(20,13,10,.9)),
  linear-gradient(180deg, rgba(20,13,10,.55), rgba(20,13,10,.35) 50%, rgba(181,22,12,.35)); }
.intro-c { position: relative; z-index: 2; text-align: center; padding: 0 24px; }
.intro-word { display: flex; align-items: baseline; justify-content: center; line-height: 1; white-space: nowrap; }
.w-bacha, .w-ta { font-family: var(--serif); font-weight: 700; font-size: clamp(3.4rem, 13vw, 10rem); color: var(--ivory); letter-spacing: .005em; opacity: 0; }
.w-ta { display: inline-block; overflow: hidden; max-width: 1.3em; }
.w-zouk { font-family: var(--script); font-weight: 400; font-size: clamp(4.2rem, 16.5vw, 12.6rem); margin-left: -.04em; opacity: 0;
  background: linear-gradient(96deg, var(--ember), var(--crimson)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 28px rgba(237,91,34,.45)); }
.intro-claim { margin-top: 26px; font-family: var(--sans); font-weight: 600; font-size: clamp(.78rem, 1.6vw, 1.05rem); letter-spacing: .34em; text-transform: uppercase; color: var(--amber-2); opacity: 0; }
.intro-sub { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: clamp(1rem, 2vw, 1.35rem); color: var(--ash); opacity: 0; }
.intro-skip { position: absolute; right: 22px; bottom: 22px; z-index: 3; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mauve); padding: .8em 1.2em; border: 1px solid var(--line); border-radius: 100px; opacity: 0; animation: introFade .6s 1.2s both; }
.intro-skip:hover { color: var(--ivory); border-color: var(--ivory); }

@keyframes introFromLeft  { from { opacity: 0; transform: translateX(-28vw); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes introFromRight { from { opacity: 0; transform: translateX(28vw);  filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes introTaOut { from { max-width: 1.3em; opacity: 1; } to { max-width: 0; opacity: 0; } }
@keyframes introFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes introGlow { 0% { filter: drop-shadow(0 0 28px rgba(237,91,34,.45)); } 100% { filter: drop-shadow(0 0 50px rgba(237,91,34,.8)); } }
.intro.run .w-bacha { animation: introFromLeft 1s .15s var(--ease) both; }
.intro.run .w-ta    { animation: introFromLeft 1s .15s var(--ease) both, introTaOut .55s 1.45s var(--ease) forwards; }
.intro.run .w-zouk  { animation: introFromRight 1s .3s var(--ease) both, introGlow .6s 2s ease-in-out alternate 2; }
.intro.run .intro-claim { animation: introFade .8s 2.15s var(--ease) both; }
.intro.run .intro-sub   { animation: introFade .8s 2.45s var(--ease) both; }
@media (max-width: 699px) { .intro { background-image: linear-gradient(rgba(20,13,10,.45), rgba(20,13,10,.45)), url("assets/opt/img/hero-poster-9x16.jpg"); background-position: center 20%; } }
@media (max-width: 700px) { .intro-video { object-position: center 20%; } .intro-word { transform: scale(.98); } }

/* v5.13 — intro: bigger, texts earlier, stays longer (5.2 s) */
.w-bacha, .w-ta { font-size: clamp(4rem, 15.5vw, 12.5rem); }
.w-zouk { font-size: clamp(5rem, 19.5vw, 15.8rem); }
.intro-claim { margin-top: 34px; font-size: clamp(1rem, 2.1vw, 1.45rem); letter-spacing: .3em; color: var(--ivory); text-shadow: 0 2px 20px rgba(20,13,10,.9); }
.intro-sub { margin-top: 14px; font-size: clamp(1.2rem, 2.5vw, 1.8rem); color: var(--amber-2); }
.intro.run .w-bacha { animation: introFromLeft .8s .1s var(--ease) both; }
.intro.run .w-ta    { animation: introFromLeft .8s .1s var(--ease) both, introTaOut .5s 1.05s var(--ease) forwards; }
.intro.run .w-zouk  { animation: introFromRight .8s .2s var(--ease) both, introGlow .6s 1.6s ease-in-out alternate 2; }
.intro.run .intro-claim { animation: introFade .7s 1.55s var(--ease) both; }
.intro.run .intro-sub   { animation: introFade .7s 1.8s var(--ease) both; }
.intro-skip { animation: introFade .6s .9s both; }
@media (max-width: 700px) { .intro-claim { font-size: 1rem; letter-spacing: .22em; } .intro-sub { font-size: 1.15rem; } }

/* ============================================================================
   v5.14 — hands-on sliders: venue arrows + swipe, poster row scrollable with slow loop, map visible on phones
   ========================================================================== */
.slide-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 2rem; line-height: 1; color: var(--ivory); background: rgba(20,13,10,.55); border: 1px solid rgba(245,237,226,.25);
  backdrop-filter: blur(4px); transition: background .3s, border-color .3s; }
.slide-nav:hover { background: rgba(237,91,34,.55); border-color: var(--ember); }
.slide-nav.prev { left: 16px; } .slide-nav.next { right: 16px; }
.venue-slides--big .slide-nav { width: 52px; height: 52px; }
@media (max-width: 560px) { .slide-nav { width: 40px; height: 40px; font-size: 1.6rem; } .slide-nav.prev { left: 10px; } .slide-nav.next { right: 10px; } }

.poster-marquee { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; }
.poster-marquee::-webkit-scrollbar { display: none; }
.poster-marquee .track { animation: none !important; width: max-content; will-change: auto; }
.poster-marquee:hover .track, .poster-marquee:focus-within .track, .poster-marquee.paused .track { animation: none !important; }
.poster-marquee:active { cursor: grabbing; }
.poster { scroll-snap-align: none; }

@media (max-width: 560px) {
  .tm-route { stroke-width: 3; stroke: rgba(245,237,226,.4); }
  .tm-route.train, .tm-route.trainVia { stroke: rgba(244,177,99,.75); }
  .tm-mover { r: 8px; }
  .tm-ring { stroke-width: 2; }
}

/* ============================================================================
   v5.15 — Certification: home section + subpage
   ========================================================================== */
.btn--soon { opacity: .6; cursor: default; pointer-events: none; }
.btn--fire.btn--soon { background: linear-gradient(95deg, rgba(244,177,99,.55), rgba(237,91,34,.55)); box-shadow: none; }

/* home section */
.cert { padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.cert::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 15% 50%, rgba(237,91,34,.14), transparent 60%); pointer-events: none; }
.cert-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; position: relative; z-index: 1; }
.cert-media { position: relative; }
.cert-portal { max-width: 400px; }
.cert-portal .portal-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.cert-portal .artist-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); }
.cert-portal:hover .artist-clip { opacity: 1; }
.cert-badge { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); padding: .5em 1.1em; border-radius: 100px; background: var(--ember); color: var(--char); font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 10px 30px -10px rgba(237,91,34,.8); }
.cert-copy h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin: 22px 0 20px; }
.cert-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ivory); opacity: .92; max-width: 56ch; line-height: 1.65; }
.cert-pillars { list-style: none; margin: 28px 0 32px; display: grid; gap: 14px; }
.cert-pillars li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.cert-pillars li:last-child { border-bottom: 1px solid var(--line); }
.cert-pillars b { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--amber-2); }
.cert-pillars span { color: var(--ash); font-size: .95rem; }
.cert-by { margin-top: 20px; font-size: .82rem; color: var(--mauve); }
.cert-by a { color: var(--amber-2); }
@media (max-width: 900px) { .cert-grid { grid-template-columns: 1fr; gap: 56px; } .cert-portal { max-width: 300px; margin: 0 auto; } .cert-pillars li { grid-template-columns: 1fr; gap: 4px; } }

/* subpage */
.cert-page .nav { position: fixed; }
.cert-page .nav .btn--soon { white-space: nowrap; }
@media (max-width: 900px) { .cert-page .nav > .nav-right > .btn--soon { display: none; } }
.cp-hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: center; padding: 140px var(--pad) 90px; overflow: hidden; }
.cp-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; opacity: .55; filter: saturate(.8); }
.cp-hero-ov { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,13,10,.92) 0%, rgba(20,13,10,.7) 45%, rgba(20,13,10,.35) 100%), linear-gradient(180deg, rgba(20,13,10,.6), transparent 30%, transparent 70%, var(--char)); }
.cp-hero-c { position: relative; z-index: 1; max-width: 1160px; width: 100%; }
.cp-hero h1 { font-size: clamp(3rem, 8vw, 6.4rem); margin: 22px 0 22px; max-width: 12ch; text-shadow: 0 4px 30px rgba(20,13,10,.9); }
.cp-hero-sub { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--ivory); opacity: .92; max-width: 56ch; margin-bottom: 34px; line-height: 1.65; text-shadow: 0 2px 16px rgba(20,13,10,.9); }
.cp-hero-by { display: inline-flex; align-items: center; gap: 12px; margin-top: 36px; font-family: var(--serif); font-size: 1rem; color: var(--ash); }
.cp-hero-by img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 1px solid rgba(245,237,226,.3); }

.cp-what { padding: clamp(80px, 10vw, 140px) 0; }
.cp-what-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.cp-what h2 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); margin-top: 22px; }
.cp-what-copy p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ivory); opacity: .92; line-height: 1.7; margin-bottom: 22px; }
.cp-what-copy p:first-child::first-letter { font-family: var(--serif); font-size: 3.2em; float: left; line-height: .85; padding: .08em .12em 0 0; color: var(--ember); }

.cp-method { padding: clamp(70px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pillar { position: relative; padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, var(--char-2), rgba(20,13,10,.5)); }
.pillar-n { font-family: var(--serif); color: var(--amber-2); letter-spacing: .14em; font-size: 1rem; }
.pillar h3 { font-size: 1.7rem; margin: 16px 0 12px; }
.pillar p { color: var(--ash); font-size: 1rem; line-height: 1.6; }

.cp-gr { position: relative; padding: clamp(90px, 11vw, 150px) 0; overflow: hidden; }
.cp-gr-bg { position: absolute; inset: 0; background: url("assets/img/cert/gr-05.jpg") center 30%/cover no-repeat; opacity: .35; filter: saturate(.7); }
.cp-gr-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,13,10,.95) 0%, rgba(20,13,10,.8) 50%, rgba(20,13,10,.55) 100%), linear-gradient(180deg, var(--char), transparent 18%, transparent 82%, var(--char)); }
.cp-gr-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.cp-gr-copy h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 22px 0 22px; }
.cp-gr-copy p { font-size: 1.08rem; color: var(--ivory); opacity: .92; line-height: 1.7; margin-bottom: 18px; max-width: 58ch; }
.cp-gr-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.cp-gr-links a { padding: .6em 1.1em; border: 1px solid var(--line); border-radius: 100px; font-size: .82rem; color: var(--ash); transition: .3s; }
.cp-gr-links a:hover { color: var(--ivory); border-color: var(--ivory); }
.yt { position: relative; aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #000; cursor: pointer; box-shadow: 0 40px 80px -40px rgba(237,91,34,.5); }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .8s var(--ease), opacity .3s; }
.yt:hover img { transform: scale(1.04); opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: var(--ember); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(237,91,34,.25); transition: transform .3s; }
.yt:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); }
.yt-play i { width: 0; height: 0; border-left: 22px solid var(--char); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 5px; }
.yt-label { position: absolute; left: 18px; bottom: 16px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); background: rgba(20,13,10,.6); padding: .5em .9em; border-radius: 100px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.cp-prog { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.cp-prog-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.cp-prog h2 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); margin: 22px 0 18px; }
.cp-note { color: var(--ash); max-width: 40ch; }
.cp-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cp-fact { display: inline-flex; align-items: center; gap: 10px; padding: .7em 1.1em; border: 1px solid var(--line); border-radius: 12px; font-size: .9rem; }
.cp-fact b { font-family: var(--serif); color: var(--amber-2); font-size: 1.1rem; }
.cp-fact.tba { color: var(--mauve); border-style: dashed; }
.mods { list-style: none; display: flex; flex-direction: column; }
.mod { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.mod:last-child { border-bottom: 1px solid var(--line); }
.mod-n { font-family: var(--serif); color: var(--ember); font-size: 1.3rem; }
.mod h3 { font-size: 1.35rem; margin-bottom: 6px; }
.mod p { color: var(--ash); font-size: .98rem; }

.cp-who { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.cp-who-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.cp-who-media { border-radius: 20px; overflow: hidden; aspect-ratio: 4/5; max-width: 440px; }
.cp-who-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.cp-who h2 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); margin: 22px 0 24px; }
.cp-list { list-style: none; display: grid; gap: 14px; margin-bottom: 26px; }
.cp-list li { position: relative; padding-left: 26px; font-size: 1.05rem; line-height: 1.5; }
.cp-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--ember); transform: rotate(45deg); box-shadow: 0 0 10px rgba(237,91,34,.6); }
.cp-get { padding: 18px 22px; border-left: 2px solid var(--ember); background: rgba(237,91,34,.08); border-radius: 0 12px 12px 0; color: var(--ivory); font-size: 1rem; }

.cp-reg { padding: clamp(70px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.cp-reg-card { max-width: 820px; margin: 0 auto; text-align: center; padding: clamp(34px, 5vw, 60px); border: 1px solid rgba(237,91,34,.4); border-radius: 24px; background: radial-gradient(80% 100% at 50% 0%, rgba(237,91,34,.16), var(--char-2) 70%); }
.cp-reg-card .kicker { justify-content: center; }
.cp-reg-card h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 20px 0 16px; }
.cp-reg-card p { color: var(--ivory); opacity: .9; max-width: 48ch; margin: 0 auto 30px; font-size: 1.08rem; }
.cp-reg-card .hero-cta { justify-content: center; margin-bottom: 0; }

@media (max-width: 900px) {
  .cp-what-grid, .cp-gr-grid, .cp-prog-grid, .cp-who-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .cp-who-media { max-width: 100%; aspect-ratio: 4/3; }
  .cp-hero { min-height: 0; padding-top: 120px; }
  .cp-hero-ov { background: linear-gradient(180deg, rgba(20,13,10,.85), rgba(20,13,10,.6) 50%, var(--char)); }
}

/* ============================================================================
   v5.16 — WebKit: a mask on a scroll container masks the *scrolled* content → row went blank past the first
   screen. The fade now lives on a non-scrolling wrapper. + map routes clearly visible everywhere.
   ========================================================================== */
.poster-wrap { position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.poster-marquee { -webkit-mask-image: none !important; mask-image: none !important; padding: 10px 0 14px; }
.poster-marquee .track { padding: 0 6vw; }

.tm-route { stroke: rgba(245,237,226,.45); stroke-width: 2.2; stroke-dasharray: 8 9; animation: tmflow 1.6s linear infinite; }
.tm-route.train, .tm-route.trainVia { stroke: rgba(244,177,99,.85); stroke-dasharray: 14 8; animation-duration: 2.2s; }
@keyframes tmflow { to { stroke-dashoffset: -34; } }
.tm-mover { r: 6.5px; fill: #fff; filter: drop-shadow(0 0 8px var(--ember)) drop-shadow(0 0 2px #fff); }
.tm-mover.train, .tm-mover.trainVia { fill: var(--amber-2); }
.tm-city { r: 5.5px; fill: var(--ivory); opacity: 1; }
.tm-ring { stroke: rgba(237,91,34,.28); }
.tm-hub-glow { fill: rgba(237,91,34,.45); }
@media (max-width: 560px) {
  .tm-route { stroke-width: 5; stroke-dasharray: 16 14; }
  .tm-route.train, .tm-route.trainVia { stroke-dasharray: 24 12; }
  .tm-mover { r: 11px; }
  .tm-city { r: 8px; }
}
@media (prefers-reduced-motion: reduce) { .tm-route { animation: none; } }
/* routes a touch stronger on desktop too */
.tm-route { stroke: rgba(245,237,226,.6); stroke-width: 2.6; }
.tm-route.train, .tm-route.trainVia { stroke: rgba(244,177,99,.9); }

/* v5.18 — phones get the pre-rendered map video (no live SVG animation needed); desktop keeps the live SVG */
.travel-svg { position: absolute; inset: 0; }
.travel-video { display: none; }
@media (max-width: 900px) {
  .travel-svg { display: none; }
  .travel-video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .travel-map-panel { aspect-ratio: 720 / 624; min-height: 0; }
}

/* v5.19 — "tap to play" chip when autoplay is blocked (iOS Low Power Mode) */
.portal::after, .cp-hero::after { content: "▶  Tap to play"; position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); z-index: 5;
  padding: .7em 1.2em; border-radius: 100px; background: rgba(20,13,10,.78); color: var(--ivory); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid rgba(245,237,226,.3); display: none; pointer-events: none; }
body.needs-tap .portal::after, body.needs-tap .cp-hero::after { display: block; }

/* v5.20 — iOS: the map panel collapsed to 0 height (only absolutely positioned children). The video is now a
   normal block with intrinsic size, the panel takes its height from it. */
@media (max-width: 900px) {
  .travel-map-panel { aspect-ratio: auto; min-height: 0; height: auto; }
  .travel-svg { display: none; }
  .travel-video { display: block; position: static; width: 100%; height: auto; aspect-ratio: 720 / 624; object-fit: cover; background: var(--char-2); }
}
