/* EMERGE Belfast 2027 — shared styles (same look as the landing page) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; background: #000; color: #fff; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  overflow-x: hidden; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.display, h1, h2, h3 { font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif; font-weight: 400; letter-spacing: .1em; line-height: 1.05; }

/* ---------- Background slideshow ---------- */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #000; }
.slide {
  position: absolute; inset: -2%;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 2.2s ease-in-out;
  will-change: opacity, transform;
}
.slide.active { opacity: 1; z-index: 2; }
.slide.leaving { opacity: 0; z-index: 1; }
.slide.active, .slide.leaving { animation: drift 10s linear forwards; }
@keyframes drift { from { transform: scale(1.0); } to { transform: scale(1.08); } }
.bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.22) 0%, rgba(0,0,0,.5) 70%, rgba(0,0,0,.7) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.05) 40%, rgba(0,0,0,.45));
}
body.inner .bg::after { background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.7) 35%, rgba(0,0,0,.8)); }

/* ---------- Page frame ---------- */
.page {
  position: relative; z-index: 1;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  padding: max(24px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right))
           max(24px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  text-align: center;
}

/* ---------- Header: logo, socials, nav ---------- */
.site-head { display: flex; flex-direction: column; align-items: center; width: 100%; }
.site-head h1, .site-head .brand { line-height: 0; }
.logo {
  display: block; width: min(60vw, 504px); height: auto;
  filter: drop-shadow(0 4px 30px rgba(0,0,0,.6));
  animation: rise 1.6s .2s cubic-bezier(.2,.7,.2,1) both;
}
body.inner .logo { width: min(56vw, 380px); }

.socials {
  list-style: none; display: flex; gap: clamp(14px, 3vw, 22px); margin-top: 16px;
  animation: rise 1.4s .45s cubic-bezier(.2,.7,.2,1) both;
}
.socials a {
  display: grid; place-items: center;
  width: clamp(48px, 11vw, 56px); height: clamp(48px, 11vw, 56px);
  border-radius: 50%; border: 1px solid rgba(255,255,255,.45);
  background: rgba(0,0,0,.25);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.socials a:hover, .socials a:focus-visible { background: #fff; color: #000; border-color: #fff; transform: translateY(-2px); outline: none; }
.socials svg { width: 45%; height: 45%; fill: currentColor; }
body.inner .socials a { width: 44px; height: 44px; }

.nav { margin-top: 18px; width: 100%; max-width: 1240px; animation: rise 1.4s .6s cubic-bezier(.2,.7,.2,1) both; }
.nav ul {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.nav a {
  display: block; padding: 12px clamp(8px, 1.1vw, 15px);
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(17px, 1.35vw, 19px); letter-spacing: .12em; line-height: 1;
  color: rgba(255,255,255,.85); text-decoration: none;
  transition: background .2s, color .2s;
}
.nav a:hover, .nav a:focus-visible { color: #000; background: #fff; outline: none; }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 #fff; }
.nav a.tickets { color: #000; background: #fff; }
.nav a.tickets:hover, .nav a.tickets:focus-visible { color: #fff; background: transparent; }
.nav-toggle {
  display: none; margin: 0 auto; min-height: 46px; padding: 0 22px; cursor: pointer;
  align-items: center; gap: 10px;
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif; font-size: 20px; letter-spacing: .16em;
  color: #fff; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.45); border-radius: 0;
}
.nav-toggle span { display: inline-block; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav ul { display: none; flex-direction: column; margin-top: 10px; }
  .nav.open ul { display: flex; }
  .nav a { padding: 15px 16px; font-size: 21px; border-top: 1px solid rgba(255,255,255,.1); }
}

/* ---------- Home: feed image + newsletter ---------- */
.home-main { display: flex; flex-direction: column; align-items: center; width: 100%; }
.feed {
  width: min(90vw, 560px); aspect-ratio: 4 / 5; margin-top: 18px;
  background: #808080; box-shadow: 0 10px 40px rgba(0,0,0,.5); overflow: hidden;
  animation: rise 1.4s .9s cubic-bezier(.2,.7,.2,1) both;
}
.feed a { display: block; width: 100%; height: 100%; }
.feed img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.feed a:hover img, .feed a:focus-visible img { transform: scale(1.02); }

/* ---------- Panels (inner pages + newsletter) ---------- */
.panel {
  width: 100%; max-width: 820px; margin-top: clamp(22px, 4vh, 36px);
  padding: clamp(22px, 5vw, 48px);
  text-align: left;
  background: rgba(0,0,0,.6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  animation: rise 1.2s .75s cubic-bezier(.2,.7,.2,1) both;
}
.panel h1 { font-size: clamp(42px, 9vw, 68px); margin-bottom: clamp(18px, 3vw, 28px); }
.panel h2 {
  font-size: clamp(24px, 4.5vw, 30px);
  margin: clamp(26px, 4vw, 36px) 0 10px; padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid rgba(255,255,255,.14);
}
.panel p, .panel li { color: rgba(255,255,255,.88); font-size: 16px; }
.panel p + p { margin-top: 12px; }
.panel ul { margin: 10px 0 0 1.2em; }
.panel li + li { margin-top: 4px; }
.panel a { color: #fff; text-underline-offset: 3px; }
.panel strong { color: #fff; }
.lede { font-size: 18px !important; color: #fff !important; }
.tbc {
  margin-top: 14px; padding: 14px 16px;
  border: 1px dashed rgba(255,255,255,.45); background: rgba(255,255,255,.06);
  font-size: 15px; color: rgba(255,255,255,.8);
}

/* FAQ accordion */
.faq { margin-top: 6px; }
.faq details { border-top: 1px solid rgba(255,255,255,.14); }
.faq details:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 16px 44px 16px 0;
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(21px, 3.6vw, 25px); letter-spacing: .08em; line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: -apple-system, Helvetica, Arial, sans-serif; font-size: 26px; font-weight: 300;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover, .faq summary:focus-visible { color: rgba(255,255,255,.75); outline: none; }
.faq .answer { padding: 0 0 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px;
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif; font-size: 22px; letter-spacing: .14em;
  color: #000 !important; background: #fff; border: 1px solid #fff; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover, .btn:focus-visible { background: transparent; color: #fff !important; outline: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* Cards (hotels, afterparties, airports) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 12px; }
.card {
  display: block; padding: 16px 18px; text-decoration: none;
  border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.35);
  transition: background .2s, color .2s, border-color .2s;
}
a.card:hover, a.card:focus-visible { background: #fff; color: #000; border-color: #fff; outline: none; }
.card .display { display: block; font-size: 22px; }
.card small { display: block; margin-top: 4px; font-size: 13px; opacity: .75; letter-spacing: .02em; }
.poster-slot {
  aspect-ratio: 4 / 5; display: grid; place-items: center; text-align: center; padding: 20px;
  background: #808080; color: rgba(255,255,255,.9);
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif; font-size: 22px; letter-spacing: .12em;
}
.map-slot { aspect-ratio: 16 / 10; margin-top: 12px; }
.map { width: 100%; aspect-ratio: 16 / 10; border: 0; margin-top: 12px; filter: grayscale(.3) contrast(1.05); display: block; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea, .nl-form input {
  width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 15px; color: #fff; background: rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.4); border-radius: 0;
  -webkit-appearance: none; appearance: none; transition: border-color .2s, background .2s;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder, .nl-form input::placeholder { color: rgba(255,255,255,.7); }
.form input:focus, .form textarea:focus, .nl-form input:focus { outline: none; border-color: #fff; background: rgba(0,0,0,.55); }
.form button, .nl-form button {
  min-height: 50px; cursor: pointer;
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif; font-size: 22px; letter-spacing: .14em;
  color: #000; background: #fff; border: 1px solid #fff; border-radius: 0;
  -webkit-appearance: none; appearance: none; transition: background .2s, color .2s;
}
.form button:hover, .form button:focus-visible, .nl-form button:hover, .nl-form button:focus-visible { background: transparent; color: #fff; outline: none; }

/* Newsletter (same as landing page) */
.newsletter {
  width: 100%; max-width: 460px; margin-top: 14px;
  padding: clamp(18px, 4vw, 26px); text-align: center;
  background: rgba(0,0,0,.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  animation: rise 1.4s 1.1s cubic-bezier(.2,.7,.2,1) both;
}
.newsletter h2 { font-size: clamp(26px, 5vw, 32px); letter-spacing: .12em; line-height: 1; }
.newsletter p.nl-lede { margin: 8px 0 18px; font-size: 15px; color: rgba(255,255,255,.85); }
.nl-form { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; }
.nl-form .full { grid-column: 1 / -1; }
.nl-form input { padding: 12px; }
.privacy-link { margin-top: 12px; font-size: 13px; }
.privacy-link a { color: rgba(255,255,255,.75); text-underline-offset: 3px; }
.privacy-link a:hover { color: #fff; }
body.inner .newsletter { margin-top: clamp(22px, 4vh, 36px); animation-delay: .9s; }

/* Footer */
.site-foot { margin-top: auto; padding-top: clamp(28px, 5vh, 44px); font-size: 13px; color: rgba(255,255,255,.6); }
.site-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 10px; }
.site-foot a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-foot a:hover { color: #fff; }

@media (max-width: 560px) {
  .nl-form, .form { grid-template-columns: 1fr; }
  .nl-form input, .form input, .form textarea { font-size: 16px; padding: 12px 16px; } /* 16px stops iPhone zooming in */
}
@media (min-width: 768px) { .logo { width: min(43vw, 532px); } }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .slide { transition: opacity 1s linear; }
  .slide.active, .slide.leaving { animation: none; }
  .logo, .socials, .nav, .feed, .panel, .newsletter { animation: none; }
}

/* contact form honeypot (hidden from people, bots fill it in) */
.form .hide-robot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* "To be announced" line */
.panel .tba { margin-top: clamp(18px, 3vw, 26px); font-size: clamp(30px, 6vw, 44px); letter-spacing: .12em; color: #fff; }
