/* ============================================================
   MIFTAAH — festival site v5
   Poster palette, editorial festival energy: giant type over
   full-bleed photography, marquees, reveals. WCAG AA verified.
   ============================================================ */

:root {
  --base: #F4F6E3;
  --pista: #E3EAB8;
  --pista-tint: #EBF0CC;
  --ink: #232B1A;
  --ink-deep: #171D10;
  --forest: #2E3823;
  --coral: #C24A3B;
  --coral-bright: #D95B4B;
  --rust: #9C3826;
  --cream: #F8F9EC;

  --line: rgba(35, 43, 26, 0.18);
  --line-light: rgba(248, 249, 236, 0.22);
  --shadow-soft: 0 2px 6px rgba(35, 43, 26, 0.06), 0 14px 34px rgba(35, 43, 26, 0.10);
  --shadow-lift: 0 4px 10px rgba(35, 43, 26, 0.10), 0 22px 48px rgba(35, 43, 26, 0.16);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-arabic: "Rakkas", "Amiri", serif;
  --header-h: 74px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--base);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--coral-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

[lang="ar"] { font-family: var(--font-arabic); }

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 246, 227, 0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img { width: 42px; height: 42px; flex: 0 0 auto; }

.site-nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--ink);
  transition: background .15s ease;
}

.site-nav a:hover { background: var(--pista); }

.site-nav a.cta { background: var(--coral); color: var(--cream); }
.site-nav a.cta:hover { background: var(--rust); }

/* transparent header over the dark home hero */
body.home .site-header {
  position: fixed;
  left: 0; right: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}

body.home .site-header .word,
body.home .site-header .site-nav a { color: var(--cream); }

body.home .site-header .site-nav a:hover { background: rgba(248,249,236,0.14); }

body.home .site-header .site-nav a.cta { background: var(--coral); color: var(--cream); }

body.home .site-header.scrolled {
  background: rgba(23, 29, 16, 0.9);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-light);
}

/* ---------- ticker ---------- */

.ticker {
  background: var(--ink);
  color: var(--pista);
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--line-light);
}

.ticker-track {
  display: inline-block;
  padding: 13px 0;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: ticker 32s linear infinite;
}

.ticker-track .dot { color: var(--coral-bright); margin: 0 18px; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- hero: full-bleed rotating photos + giant type ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--cream);
  text-align: center;
}

.hero-bg, .hero-bg .bg {
  position: absolute;
  inset: 0;
}

.hero-bg .bg {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
  transform: scale(1);
}

.hero-bg .bg.is-active {
  opacity: 1;
  animation: kenburns 9s ease-out forwards;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(23,29,16,0.62) 0%, rgba(23,29,16,0.30) 40%, rgba(23,29,16,0.30) 60%, rgba(23,29,16,0.72) 100%),
    radial-gradient(90vw 70vh at 50% 55%, rgba(23,29,16,0.35) 0%, rgba(23,29,16,0.1) 70%);
}

.hero-inner {
  position: relative;
  width: 100%;
  padding: calc(var(--header-h) + 40px) 20px 90px;
}

.hero .kicker {
  display: inline-block;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pista);
  margin-bottom: 18px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 650;
  font-style: italic;
  font-size: clamp(4.2rem, 17vw, 15rem);
  line-height: 0.9;
  color: var(--pista);
  text-shadow: 0 2px 30px rgba(23,29,16,0.55);
  display: block;
}

.wordmark-ar {
  font-family: var(--font-arabic);
  font-size: clamp(2.4rem, 8.5vw, 7rem);
  line-height: 1.05;
  color: var(--cream);
  text-shadow: 0 2px 24px rgba(23,29,16,0.6);
  display: block;
  margin-top: 6px;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 880px;
  margin: 26px auto 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 3.4vw, 2.2rem);
  color: var(--cream);
  text-shadow: 0 1px 16px rgba(23,29,16,0.6);
}

.hero-meta .chev { color: var(--coral-bright); font-size: 0.8em; letter-spacing: 0.3em; }

.hero .strap {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 500;
  max-width: 560px;
  margin: 22px auto 8px;
  color: var(--cream);
  text-shadow: 0 1px 12px rgba(23,29,16,0.7);
}

.hero .meaning {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--pista);
  text-shadow: 0 1px 12px rgba(23,29,16,0.7);
  margin-bottom: 30px;
}

.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--pista);
  font-size: 1.5rem;
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 32px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--pista);
  color: var(--ink);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn-pink, .btn-clay, .btn-coral { background: var(--coral); color: var(--cream); }
.btn-pink:hover, .btn-clay:hover, .btn-coral:hover { background: var(--rust); }
.btn-yellow, .btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-yellow:hover, .btn-outline:hover { background: var(--pista); }
.btn-teal, .btn-euc, .btn-purple, .btn-slate { background: var(--forest); color: var(--pista); }
.btn-teal:hover, .btn-euc:hover, .btn-purple:hover, .btn-slate:hover { background: var(--ink); }

.hero .btn-outline, .hero .btn-yellow { color: var(--cream); border-color: var(--cream); background: transparent; }
.hero .btn-outline:hover, .hero .btn-yellow:hover { background: rgba(248,249,236,0.15); }

/* ---------- shared section scaffolding ---------- */

section { padding: 100px 0; }

.section-tag {
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: var(--rust);
  margin-bottom: 16px;
}

h2.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.04;
  margin-bottom: 20px;
  color: var(--ink);
}

h2.section-title em { font-style: italic; color: var(--coral); }

.section-intro { font-size: 1.12rem; max-width: 640px; }

/* ---------- about: statement + numbered rows ---------- */

.about { background: var(--base); }

.statement {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  line-height: 1.14;
  max-width: 1000px;
  color: var(--ink);
}

.statement em { font-style: italic; color: var(--coral); }

.pillar-rows { margin-top: 64px; border-top: 2px solid var(--ink); }

.pillar {
  display: grid;
  grid-template-columns: 90px 1fr 1.1fr;
  gap: 24px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 2px solid var(--ink);
  transition: background .15s ease;
}

.pillar:hover { background: var(--pista-tint); }

.pillar .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--rust);
}

.pillar h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.05;
  color: var(--ink);
}

.pillar p { font-size: 1.05rem; max-width: 480px; }

/* ---------- line-up ---------- */

.lineup { background: var(--ink); color: var(--cream); padding: 110px 0; }

.lineup .section-tag { color: var(--coral-bright); }
.lineup .section-title { color: var(--pista); }

.lineup-rows { margin-top: 50px; border-top: 1px solid var(--line-light); }

.lineup-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 6px;
  border-bottom: 1px solid var(--line-light);
  text-decoration: none;
  transition: background .15s ease, padding-left .2s ease;
}

.lineup-row:hover { background: rgba(217, 91, 75, 0.12); padding-left: 18px; }

.lineup-row .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 4.6rem);
  line-height: 1;
  color: var(--pista);
}

.lineup-row:hover .name { color: var(--coral-bright); font-style: italic; }

.lineup-row .tag {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}

.lineup-djs {
  margin-top: 34px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.8rem);
  color: var(--cream);
}

.lineup-djs .dj { color: var(--pista); font-style: italic; }
.lineup-djs .dot { color: var(--coral-bright); margin: 0 10px; }

/* ---------- gallery banners ---------- */

.gallery-banners { padding: 0; background: var(--ink-deep); }

.banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 64vh;
  text-decoration: none;
  color: var(--cream);
  overflow: hidden;
}

.banner .banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}

.banner:hover .banner-bg { transform: scale(1.05); }

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23,29,16,0.82) 0%, rgba(23,29,16,0.18) 55%, rgba(23,29,16,0.3) 100%);
}

.banner-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px 46px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.banner h3 {
  font-family: var(--font-display);
  font-weight: 650;
  font-style: italic;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 1;
  color: var(--pista);
  text-shadow: 0 2px 20px rgba(23,29,16,0.6);
}

.banner .sub {
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--cream);
  margin-top: 10px;
}

.banner .arrow {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--coral-bright);
  transition: transform .2s ease;
}

.banner:hover .arrow { transform: translateX(12px); }

/* ---------- get involved (coral) ---------- */

.involve { background: var(--coral); color: var(--cream); padding: 110px 0; }

.involve .section-tag { color: var(--pista); }
.involve .section-title { color: var(--cream); }
.involve .section-intro { color: var(--cream); }

.involve-rows { margin-top: 54px; border-top: 1.5px solid rgba(248,249,236,0.4); }

.involve-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 6px;
  border-bottom: 1.5px solid rgba(248,249,236,0.4);
  text-decoration: none;
  color: var(--cream);
  transition: background .15s ease, padding-left .2s ease;
}

.involve-row:hover { background: rgba(23,29,16,0.16); padding-left: 18px; }

.involve-row .role {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 3.6rem);
  line-height: 1.05;
}

.involve-row:hover .role { font-style: italic; }

.involve-row .hint {
  font-size: 1rem;
  max-width: 380px;
  color: var(--cream);
}

.involve-row .arrow { font-size: 2rem; flex: 0 0 auto; }

/* ---------- giant marquee ---------- */

.mega-marquee {
  background: var(--base);
  overflow: hidden;
  white-space: nowrap;
  padding: 40px 0 30px;
  border-top: 2px solid var(--ink);
}

.mega-track {
  display: inline-block;
  animation: ticker 40s linear infinite;
  font-family: var(--font-display);
  font-weight: 650;
  font-style: italic;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 1;
  color: var(--ink);
}

.mega-track .ar { font-family: var(--font-arabic); font-style: normal; }
.mega-track .spark { color: var(--coral); }
.mega-track > span { margin: 0 30px; }

/* ---------- forms pages ---------- */

.page-hero {
  background: var(--coral);
  color: var(--cream);
  text-align: center;
  padding: 84px 0 60px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 650;
  font-style: italic;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 1;
  color: var(--pista);
}

.page-hero .meaning {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--cream);
  margin-top: 10px;
}

.page-hero .kicker {
  display: inline-block;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pista);
  margin-bottom: 14px;
}

.gallery-hero { /* legacy alias */
  background: var(--coral);
  color: var(--cream);
  text-align: center;
  padding: 84px 0 60px;
}

.gallery-hero h1 {
  font-family: var(--font-display);
  font-weight: 650;
  font-style: italic;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 1;
  color: var(--pista);
}

.gallery-hero .meaning {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--cream);
  margin-top: 10px;
}

.badge-soon {
  display: inline-block;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--pista);
  border-radius: 999px;
  padding: 9px 22px;
  margin-bottom: 16px;
}

.form-section { padding: 64px 0; }

.form-section:nth-of-type(even) { background: var(--pista); }

.form-section .section-title { font-size: clamp(2rem, 5vw, 3.2rem); }

.form-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #FCFCF1;
  box-shadow: var(--shadow-soft);
  padding: 36px;
  margin-top: 28px;
  max-width: 720px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-grid .full { grid-column: 1 / -1; }

label { font-weight: 600; display: block; margin-bottom: 6px; }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid rgba(35, 43, 26, 0.4);
  border-radius: 12px;
  background: var(--base);
}

::placeholder { color: #5C6350; opacity: 1; }

textarea { min-height: 110px; resize: vertical; }

input:focus, select:focus, textarea:focus {
  outline: 3px solid var(--forest);
  outline-offset: 1px;
  border-color: var(--forest);
}

.form-note { font-size: 0.9rem; color: #4C5340; margin: 4px 0 14px; }

.form-card .btn { margin-top: 4px; }

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 600;
}

.form-status.ok { display: block; background: var(--pista); color: var(--ink); border: 1px solid var(--forest); }
.form-status.err { display: block; background: #F6DDD6; color: #7E2C1D; border: 1px solid var(--rust); }

/* ---------- full-page slideshow galleries ---------- */

.slideshow {
  position: relative;
  height: calc(100svh - var(--header-h));
  min-height: 480px;
  background: var(--ink-deep);
  overflow: hidden;
}

.slides, .slides .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slides .slide {
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.slides .slide.is-active { opacity: 1; }

.slide-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(23,29,16,0.74) 0%, rgba(23,29,16,0) 34%),
    linear-gradient(to top, rgba(23,29,16,0.74) 0%, rgba(23,29,16,0) 26%);
}

.slide-head {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 26px 20px 0;
  text-align: center;
  color: var(--cream);
}

.slide-head h1 {
  font-family: var(--font-display);
  font-weight: 650;
  font-style: italic;
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1.05;
  color: var(--pista);
  text-shadow: 0 1px 14px rgba(23, 29, 16, 0.6);
}

.slide-head .meaning {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream);
  text-shadow: 0 1px 12px rgba(23, 29, 16, 0.7);
  margin-top: 4px;
}

.slide-head .badge-soon { margin-bottom: 10px; }

.slide-ui {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.slide-btn {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(244, 246, 227, 0.92);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .15s ease, background .15s ease;
}

.slide-btn:hover { background: var(--pista); transform: translateY(-2px); }

.slide-counter {
  position: absolute;
  right: 18px;
  bottom: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cream);
  text-shadow: 0 1px 8px rgba(23, 29, 16, 0.8);
}

/* event with no photos yet */

.slideshow.no-photos { height: 62svh; background: var(--coral); }

.slides-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 90px;
  color: var(--pista);
}

.slides-empty img { width: 140px; height: auto; opacity: 0.9; }

.slides-empty p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 64px 0 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

.site-footer .logo { color: var(--pista); margin-bottom: 14px; }

.footer-arabic {
  font-family: var(--font-arabic);
  font-size: 1.7rem;
  color: var(--pista);
  margin-bottom: 10px;
  text-align: left;
}

.site-footer h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--pista);
}

.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--pista); text-decoration: underline; }

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }

.footer-hand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--pista);
  margin-top: 10px;
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  font-size: 0.9rem;
  color: #D6DBC2;
}

/* ---------- leaf motifs: olive + gum ---------- */

.leaf { display: inline-block; }

.leaf svg { width: 100%; height: auto; display: block; }

.leaf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto;
  padding: 8px 0;
}

.leaf-divider .leaf { width: min(200px, 34vw); }

.leaf-divider .leaf.flip { transform: scaleX(-1); }

.leaf-divider .spark {
  font-size: 1.3rem;
  color: var(--coral);
}

.leaf-olive { color: var(--forest); }
.leaf-gum { color: var(--rust); }

/* pale leaves floating in coloured sections */
.leaf-bg {
  position: absolute;
  pointer-events: none;
  opacity: 0.2;
  color: var(--pista);
}

/* ---------- home photo marquee (filmstrip) ---------- */

.photo-marquee {
  background: var(--base);
  overflow: hidden;
  white-space: nowrap;
  padding: 26px 0;
}

.photo-track {
  display: inline-flex;
  gap: 16px;
  animation: ticker 55s linear infinite;
  padding-right: 16px;
}

.photo-track img {
  height: clamp(180px, 30vw, 320px);
  width: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

/* ---------- event details (gallery pages) ---------- */

.event-details { background: var(--base); padding: 84px 0; position: relative; }

.event-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 8px;
}

.fact {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--pista);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 18px;
}

.event-details .lineup-rows { border-top: 2px solid var(--ink); margin-top: 44px; }

.event-details .lineup-row { border-bottom: 2px solid var(--ink); }

.event-details .lineup-row .name { color: var(--ink); }

.event-details .lineup-row:hover { background: var(--pista-tint); }

.event-details .lineup-row:hover .name { color: var(--rust); }

.event-details .lineup-row .tag { color: var(--rust); }

.event-details .lineup-djs { color: var(--ink); }

.event-details .lineup-djs .dj { color: var(--rust); }

.event-details .lineup-djs .dot { color: var(--coral); }

.program-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.program-tags .fact { background: var(--pista-tint); border: 1px solid var(--line); }

/* ---------- single expression of interest form ---------- */

.role-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.role-pill { position: relative; }

.role-pill input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  cursor: pointer;
}

.role-pill span {
  display: inline-block;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--base);
  color: var(--ink);
  transition: background .15s ease, color .15s ease;
}

.role-pill input:checked + span { background: var(--forest); color: var(--pista); border-color: var(--forest); }

.role-pill input:focus-visible + span { outline: 3px solid var(--coral-bright); outline-offset: 2px; }

/* ---------- scroll reveals ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- motion & responsive ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .mega-track, .scroll-cue { animation: none; }
  .hero-bg .bg.is-active { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition: none !important; }
}

@media (max-width: 860px) {
  :root { --header-h: 116px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .site-header .bar { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 16px 10px; }
  .site-nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { white-space: nowrap; }
  .pillar { grid-template-columns: 48px 1fr; }
  .pillar p { grid-column: 2; }
  .hero-meta { max-width: 90%; }
  section { padding: 72px 0; }
  .banner { min-height: 48vh; }
}
