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

:root {
  --black:     #0d0d0d;
  --black-2:   #111111;
  --black-3:   #1a1a1a;
  --white:     #ffffff;
  --grey-500:  #888888;
  --grey-700:  #444444;
  --lime:      #ccff00;
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Syne Mono', monospace;
  --max:       1320px;
  --px:        40px;
}

html {
  font-family: var(--font);
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; }

/* ─── BRAND PHOTO DUOTONE ─────────────────────────────
   Wrap any <img> in .brand-photo for auto lime effect.
   Works on event cards, article cards, hero images, etc.
   Usage: <div class="brand-photo"><img src="..."></div>
   ────────────────────────────────────────────────────── */
.brand-photo {
  position: relative;
  overflow: hidden;
  background: var(--lime);
}

/* The duotone: grayscale img × lime background = lime duotone */
.brand-photo img,
.article-card__image img,
.hero__slide-bg img,
.tiw-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: multiply;
}

/* Event card img — b&w by default, original on hover */
.event-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
  transition: filter 0.4s ease;
}

h1, h2, h3, h4 { font-family: var(--font-display); }

/* ─── NAV ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid var(--black-3);
  height: 80px;
  display: flex;
  align-items: center;
}

.nav__inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--px);
  display: flex;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__logo-icon {
  height: 56px;
  width: 56px;
  color: var(--lime);
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--white);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin-left: auto;
}

/* Social row only visible inside mobile overlay */
.nav__social-row { display: none; }
.nav__social-links { display: flex; gap: 10px; }

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.15s;
}

.nav__links a:hover { color: var(--white); }

.nav__links a.active {
  color: var(--white);
  font-weight: 600;
}

.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--lime);
}

.nav__lang {
  margin-left: 32px;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.lang-btn {
  display: inline-block;
  text-decoration: none;
  background: none;
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  padding: 4px 7px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.lang-btn:hover { color: rgba(255,255,255,0.7); }

.lang-btn.active {
  color: var(--lime);
  border-color: rgba(204,255,0,0.3);
}

/* ─── SENDER BADGE ────────────────────────────────── */
.badge {
  display: inline-block;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
}

.badge--tiw    { background: var(--lime); color: var(--black); }
.badge--kv     { background: var(--white); color: var(--black); }
.badge--hsm    { background: var(--black-3); color: var(--white); border: 1px solid #333; }
.badge--vgr    { background: var(--black-3); color: var(--white); border: 1px solid #333; }
.badge--scenen { background: rgba(255,255,255,0.92); color: var(--black); }

/* ─── HERO CAROUSEL ───────────────────────────────── */
.hero {
  background: var(--black-2);
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 64px);
  min-height: calc(100vh - 64px); /* fallback */
}

.hero__slides { position: relative; height: 100%; }

.hero__slide {
  display: none;
  padding: 80px var(--px) 60px;
  min-height: calc(100svh - 64px);
  min-height: calc(100vh - 64px); /* fallback */
  flex-direction: column;
  justify-content: flex-end;
}

.hero__slide.active { display: flex; }

.hero__slide-bg {
  position: absolute;
  inset: 0;
  background: var(--lime);
  overflow: hidden;
}

.hero__slide-bg img {
  position: absolute;
  inset: 0;
}

/* Lime duotone overlay on hero bg */
.hero__slide-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(204,255,0,0.08) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

/* Dark gradient for text readability */
.hero__slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.85) 0%, rgba(13,13,13,0.3) 60%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.hero__slide-content {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
}

.hero__badge { margin-bottom: 16px; align-self: flex-start; }

.hero__title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  max-width: 760px;
  margin-bottom: 12px;
  color: var(--white);
  position: relative;
}

.hero__title::before,
.hero__title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  overflow: hidden;
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}
.hero__title::before { color: var(--lime);   left: -3px; }
.hero__title::after  { color: #ff2d6b;       left:  3px; }

.hero__slide.active .hero__title::before { animation: glitch-a 5s infinite 0.5s; }
.hero__slide.active .hero__title::after  { animation: glitch-b 5s infinite 0.65s; }

@keyframes glitch-a {
  0%, 78%, 100% { clip-path: inset(0 0 100% 0); transform: translate(0); }
  80% { clip-path: inset(8%  0 72% 0); transform: translate(-4px, 0); }
  82% { clip-path: inset(52% 0 32% 0); transform: translate( 4px, 0); }
  84% { clip-path: inset(74% 0 12% 0); transform: translate(-3px, 0); }
  86% { clip-path: inset(0 0 100% 0);  transform: translate(0); }
}

@keyframes glitch-b {
  0%, 80%, 100% { clip-path: inset(0 0 100% 0); transform: translate(0); }
  82% { clip-path: inset(60% 0 22% 0); transform: translate( 4px, 0); }
  84% { clip-path: inset(18% 0 68% 0); transform: translate(-4px, 0); }
  86% { clip-path: inset(82% 0  4% 0); transform: translate( 2px, 0); }
  88% { clip-path: inset(0 0 100% 0);  transform: translate(0); }
}

.hero__subtitle {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
}

.hero__controls {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero__dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.hero__dot {
  width: 28px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border: none;
  padding: 0;
  transition: background 0.2s, width 0.2s;
}

.hero__dot.active {
  background: var(--lime);
  width: 40px;
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: none;
  transition: opacity 0.15s, transform 0.1s;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--lime); color: var(--black); }
.btn--disabled { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.4); cursor: not-allowed; pointer-events: none; }
.btn--disabled:hover { opacity: 1; transform: none; }
.btn--outline  {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: border-color 0.15s, opacity 0.15s, transform 0.1s;
}
.btn--outline:hover { border-color: var(--white); opacity: 1; }

/* ─── SECTIONS ────────────────────────────────────── */
.section {
  padding: 72px var(--px);
  background: var(--black);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section__title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
}

.section__more {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  opacity: 0.9;
  transition: opacity 0.15s;
}

.section__more:hover { opacity: 1; }

/* ─── CARD GRID ───────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ─── EVENT CARD ──────────────────────────────────── */
.event-card {
  background: var(--black-2);
  overflow: hidden;
  position: relative;
  transition: transform 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.event-card:hover { transform: translateY(-2px); }
.event-card--past { opacity: 0.6; }
.event-card--past:hover { opacity: 1; }

.event-card:hover .event-card__title {
  text-decoration-color: var(--lime);
}

.event-card:hover .event-card__image img { filter: none; }

.event-card__image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--black-2);
  overflow: hidden;
}

/* placeholder gradient when no photo */
.event-card__image:not(:has(img))::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,13,13,0.8) 0%, rgba(13,13,13,0.35) 100%);
}

.event-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
}

.event-card__body { padding: 16px 16px 20px; }

.event-card__datetime {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.event-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  transition: text-decoration-color 0.2s;
}

.event-card__desc {
  font-family: var(--font);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
}

/* ─── FEATURED ARTICLE ────────────────────────────── */
.featured-title {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
  transition: text-decoration-color 0.2s;
}

a:hover .featured-title { text-decoration-color: var(--lime); }

/* ─── ARTICLE CARD ────────────────────────────────── */
.article-card {
  cursor: pointer;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--black-3);
  position: relative;
  overflow: hidden;
}

.article-card:hover .article-card__title {
  text-decoration-color: var(--lime);
}

.article-card__badge { margin-bottom: 12px; }

.article-card__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  transition: text-decoration-color 0.2s;
}

.article-card__meta {
  font-family: var(--font);
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.article-card__desc {
  font-family: var(--font);
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ─── WAVY DIVIDER ────────────────────────────────── */
.divider-wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--black);
  padding: 8px 0;
}

.divider-wave svg {
  display: block;
  width: 100%;
  height: 40px;
}

/* ─── PROJECT STRIP ───────────────────────────────── */
/* ── Home – Tune In West AP section ────────────────── */
.home-project {
  background: var(--black-2);
  border-top: 1px solid var(--black-3);
  padding: 80px var(--px);
}
.home-project__inner { max-width: var(--max); margin: 0 auto; }
.home-project__header { margin-bottom: 48px; }
.home-project__kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
}
.home-project__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 20px;
}
.home-project__text {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.home-project__btn {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  background: var(--lime);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 4px;
  transition: opacity 0.15s;
  letter-spacing: 0.01em;
}
.home-project__btn:hover { opacity: 0.85; }

.project-strip {
  background: var(--black);
  border-top: 1px solid var(--black-3);
  padding: 64px var(--px);
}

.project-strip__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.project-strip__kicker {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 12px;
}

.project-strip__title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--white);
}

.project-strip__text {
  font-family: var(--font);
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.partner-logos {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.partner-logo {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
  transition: border-color 0.15s, color 0.15s;
}

.partner-logo:hover {
  border-color: var(--lime);
  color: var(--white);
}

.partner-logo img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.partner-logo img:hover { opacity: 1; }

/* ─── PAGE TAB NAVIGATION ─────────────────────────── */
.page-tabs {
  position: sticky;
  top: 80px;
  z-index: 90;
  background: var(--black);
  border-bottom: 1px solid var(--black-3);
}

.page-tabs__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 0;
}

.page-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 16px 24px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}

.page-tab:hover { color: var(--white); }

.page-tab.active {
  color: var(--white);
  border-bottom-color: var(--lime);
}

.page-panel { display: none; }
.page-panel.active { display: block; }

/* ─── FOOTER ──────────────────────────────────────── */
.footer {
  background: var(--black);
  border-top: 1px solid var(--black-3);
  padding: 56px var(--px) 36px;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--lime);
}

.footer__logo-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--white);
}

.footer__tagline {
  font-family: var(--font);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.55;
  max-width: 240px;
}

.footer__col-title {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--lime);
}

.footer__col a {
  display: block;
  font-family: var(--font);
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  transition: color 0.15s;
}

.footer__col a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid var(--black-3);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-family: var(--font);
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer__privacy {
  font-family: var(--font);
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.15s;
}
.footer__privacy:hover { color: rgba(255,255,255,0.7); }

/* ─── FOOTER SOCIAL ───────────────────────────────── */
.footer__social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.4);
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.footer__social-link svg { width: 16px; height: 16px; }

.footer__social-link:hover {
  color: var(--lime);
  border-color: rgba(204,255,0,0.35);
}

/* ─── FILTER BAR ──────────────────────────────────── */
.filter-bar {
  background: var(--black-2);
  border: 1px solid var(--black-3);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-bar__label {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 4px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  background: transparent;
  transition: all 0.15s;
}

.filter-chip:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.filter-chip.active {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
  font-weight: 700;
}

/* ─── PAGE HERO ───────────────────────────────────── */
.page-hero {
  padding: 80px var(--px) 64px;
  background: var(--black);
  border-bottom: 1px solid var(--black-3);
}

.page-hero__inner { max-width: var(--max); margin: 0 auto; }

.page-hero__title {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 20px;
  color: var(--white);
}

.page-hero__subtitle {
  font-family: var(--font);
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  line-height: 1.6;
}

/* ─── TEAM / CONTACT ──────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px var(--px);
  align-items: start;
}

.contact-layout > div:last-child {
  position: sticky;
  top: 124px;
}

.contact-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: var(--white);
}

.contact-subtitle {
  font-family: var(--font);
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 420px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 16px;
}

.team-card__photo {
  aspect-ratio: 1;
  background: var(--black-3);
  margin-bottom: 10px;
  overflow: hidden;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--white);
}

.team-card__org {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  color: var(--lime);
}

.team-card__email {
  font-family: var(--font);
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

/* ─── FORM ────────────────────────────────────────── */
.form-block__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--white);
}

.form__group { margin-bottom: 16px; }

.form__label {
  display: block;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.5);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--black-3);
  font-family: var(--font);
  font-size: 15px;
  background: var(--black-2);
  color: var(--white);
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}

.form__input::placeholder,
.form__textarea::placeholder { color: rgba(255,255,255,0.25); }

.form__input:focus,
.form__textarea:focus,
.form__select:focus { border-color: var(--lime); }

.form__textarea { height: 150px; resize: vertical; }

/* ─── STATS ───────────────────────────────────────── */
.stats-row {
  display: flex;
  gap: 64px;
  padding: 48px 0 16px;
  flex-wrap: wrap;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--black);
}

.stat__label {
  font-family: var(--font);
  font-size: 14px;
  color: rgba(0,0,0,0.6);
  font-weight: 500;
}

/* ─── TUNE IN WEST LANDING ────────────────────────── */
.tiw-header {
  padding: 80px var(--px) 64px;
  max-width: var(--max);
  margin: 0 auto;
}

.tiw-header__kicker {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}

.tiw-header__title {
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.93;
  margin-bottom: 28px;
  color: var(--white);
}

.tiw-header__text {
  font-family: var(--font);
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.tiw-header__link {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── DIVIDER ─────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--black-3);
  margin: 0;
}

/* ─── UTILITY ─────────────────────────────────────── */
.u-bg-dark { background: var(--black-2); }
.u-mt-0 { margin-top: 0; }

/* ════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════ */

/* ─── Hamburger button (hidden on desktop) ─────────── */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
  cursor: pointer;
  width: 36px;
  height: 36px;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
}

.nav__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile nav dialog ──────────────────────────────────────── */

/* Reset browser dialog defaults */
dialog.mnav {
  border: none;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  background: #0b0b0b;
  color: var(--white);
  overflow: hidden;
}
dialog.mnav::backdrop {
  background: #0b0b0b;
}

/* Open animation — scale+fade in */
@keyframes mnav-open {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
/* Close animation */
@keyframes mnav-close {
  from { opacity: 1; }
  to   { opacity: 0; }
}
dialog.mnav[open] {
  animation: mnav-open 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}
dialog.mnav.is-closing {
  animation: mnav-close 0.15s ease forwards;
}

/* Inner layout */
.mnav__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  height: 100dvh;
}

/* Head */
.mnav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 72px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mnav__logo {
  text-decoration: none;
  outline: none;
}
.mnav__logo-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}
.mnav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s, color 0.15s;
  outline: none;
}
.mnav__close:hover {
  border-color: var(--lime);
  color: var(--lime);
}

/* Nav links */
.mnav__links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 0;
}

/* Stagger: links slide in from left */
@keyframes mnav-link-in {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes mnav-num-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 0.7; transform: translateY(0); }
}

dialog.mnav[open] .mnav__link {
  animation: mnav-link-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
dialog.mnav[open] .mnav__link:nth-child(1) { animation-delay: 0.06s; }
dialog.mnav[open] .mnav__link:nth-child(2) { animation-delay: 0.12s; }
dialog.mnav[open] .mnav__link:nth-child(3) { animation-delay: 0.18s; }
dialog.mnav[open] .mnav__link:nth-child(4) { animation-delay: 0.24s; }

dialog.mnav[open] .mnav__num {
  animation: mnav-num-in 0.3s ease both;
}
dialog.mnav[open] .mnav__link:nth-child(1) .mnav__num { animation-delay: 0.04s; }
dialog.mnav[open] .mnav__link:nth-child(2) .mnav__num { animation-delay: 0.10s; }
dialog.mnav[open] .mnav__link:nth-child(3) .mnav__num { animation-delay: 0.16s; }
dialog.mnav[open] .mnav__link:nth-child(4) .mnav__num { animation-delay: 0.22s; }

.mnav__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  text-decoration: none;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.12s;
}
.mnav__link:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.mnav__link:hover,
.mnav__link:active { background: rgba(255,255,255,0.03); }

.mnav__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--lime);
  opacity: 0.7;
  width: 22px;
  flex-shrink: 0;
  font-family: var(--font-display);
}

/* Glitch text on hover */
.mnav__text {
  font-family: var(--font-display);
  font-size: clamp(30px, 9vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  flex: 1;
  position: relative;
}
.mnav__text::before,
.mnav__text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  font: inherit;
  letter-spacing: inherit;
  overflow: hidden;
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}
.mnav__text::before { color: var(--lime); left: -2px; }
.mnav__text::after  { color: #ff2d6b;    left:  2px; }

@keyframes mnav-glitch-a {
  0%   { clip-path: inset(0 0 100% 0); transform: translate(0); }
  15%  { clip-path: inset(12% 0 58% 0); transform: translate(-4px, 0); }
  30%  { clip-path: inset(60% 0 18% 0); transform: translate( 4px, 0); }
  50%  { clip-path: inset(35% 0 42% 0); transform: translate(-3px, 0); }
  70%  { clip-path: inset(78% 0  8% 0); transform: translate( 2px, 0); }
  85%  { clip-path: inset(0 0 100% 0);  transform: translate(0); }
  100% { clip-path: inset(0 0 100% 0);  transform: translate(0); }
}
@keyframes mnav-glitch-b {
  0%   { clip-path: inset(0 0 100% 0); transform: translate(0); }
  20%  { clip-path: inset(50% 0 28% 0); transform: translate( 4px, 0); }
  40%  { clip-path: inset(20% 0 65% 0); transform: translate(-4px, 0); }
  60%  { clip-path: inset(82% 0  5% 0); transform: translate( 3px, 0); }
  80%  { clip-path: inset(0 0 100% 0);  transform: translate(0); }
  100% { clip-path: inset(0 0 100% 0);  transform: translate(0); }
}

.mnav__link:hover .mnav__text::before {
  animation: mnav-glitch-a 0.35s ease both;
}
.mnav__link:hover .mnav__text::after {
  animation: mnav-glitch-b 0.35s ease both;
}

/* Arrow */
.mnav__arrow {
  color: var(--lime);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.15s, transform 0.2s cubic-bezier(0.22,1,0.36,1);
  flex-shrink: 0;
}
.mnav__link:hover .mnav__arrow,
.mnav__link:active .mnav__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Footer */
.mnav__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  gap: 16px;
}
.mnav__social {
  display: flex;
  gap: 8px;
}
.mnav__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.mnav__social a:hover,
.mnav__social a:active {
  color: var(--lime);
  border-color: rgba(204,255,0,0.3);
}
.mnav__lang {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mnav__lang-btn {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  padding: 6px 2px;
  transition: color 0.15s;
}
.mnav__lang-btn.active { color: var(--white); }
.mnav__lang-btn:hover  { color: var(--lime); }
.mnav__lang-sep {
  color: rgba(255,255,255,0.15);
  font-size: 12px;
}

/* Reduced motion — skip animations */
@media (prefers-reduced-motion: reduce) {
  dialog.mnav[open],
  dialog.mnav[open] .mnav__link,
  dialog.mnav[open] .mnav__num { animation: none; }
  .mnav__link:hover .mnav__text::before,
  .mnav__link:hover .mnav__text::after { animation: none; }
}

/* ─── TABLET (≤ 1024px) ────────────────────────────── */
@media (max-width: 1024px) {
  :root { --px: 28px; }

  .card-grid { grid-template-columns: repeat(2, 1fr); }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .contact-layout { gap: 48px; }
  .contact-layout > div:last-child { position: static; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .hero__title { font-size: clamp(36px, 5vw, 64px); }
}

/* ─── MOBILE (≤ 640px) ─────────────────────────────── */
@media (max-width: 640px) {
  :root { --px: 20px; }

  /* Nav — show burger, hide desktop links */
  .nav__burger { display: flex; margin-left: 8px; }
  .nav__lang   { display: flex; margin-left: auto; margin-right: 0; }
  .nav__links  { display: none; }

  /* Hero — keep full height on mobile too */
  .hero__slide { padding: 48px var(--px) 60px; }
  .hero__title { font-size: clamp(30px, 8vw, 48px); }
  .hero__subtitle { font-size: 15px; margin-bottom: 28px; }
  .hero__controls { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Grids → single column */
  .card-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stats-row { gap: 32px; }

  /* Sections */
  .section { padding: 48px var(--px); }
  .page-hero { padding: 56px var(--px) 44px; }
  .project-strip { padding: 48px var(--px); }
  .home-project { padding: 56px var(--px); }

  /* Page tabs */
  .page-tabs__inner { padding: 0 var(--px); overflow-x: auto; }
  .page-tab { padding: 14px 16px; font-size: 13px; white-space: nowrap; }

  /* Section head */
  .section__head { flex-direction: column; gap: 12px; align-items: flex-start; }

  /* Partner logos */
  .partner-logos { gap: 8px; }
  .partner-logo { padding: 6px 12px; font-size: 11px; }

  /* Filter bar */
  .filter-bar { padding: 10px 14px; gap: 8px; }

  /* Footer bottom */
  .footer__bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* ════════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════════ */

/* ── Hero scanlines ─────────────────────────────────── */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.07) 3px,
    rgba(0, 0, 0, 0.07) 4px
  );
  pointer-events: none;
  z-index: 4;
}

/* ── Scroll reveal ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal--visible {
  opacity: 1;
  transform: none;
}

/* ── Magnetic button ────────────────────────────────── */
.btn--primary {
  transition: background 0.15s, color 0.15s, transform 0.18s ease;
}
.btn--primary:hover { opacity: 1; }

/* ── Card click glitch ──────────────────────────────── */
.article-card--glitch {
  animation: article-distort 0.25s ease-in-out forwards;
  pointer-events: none;
}

/* Scan bar sweep */
.article-card--glitch::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 35%;
  background: linear-gradient(to bottom, transparent, rgba(204,255,0,0.12), transparent);
  z-index: 10;
  pointer-events: none;
  animation: article-scan 0.25s ease-in forwards;
}

@keyframes article-distort {
  0%   { transform: translate(0) skewX(0deg); clip-path: inset(0); }
  18%  { transform: translate(-5px) skewX(-2deg); clip-path: inset(18% 0 48% 0); }
  34%  { transform: translate( 5px) skewX( 2deg); clip-path: inset(55% 0 12% 0); }
  52%  { transform: translate(-3px) skewX(-1deg); clip-path: inset(0); }
  68%  { transform: translate( 2px); }
  84%  { transform: translate(-1px); }
  100% { transform: translate(0) skewX(0deg); clip-path: inset(0); }
}

@keyframes article-scan {
  0%   { transform: translateY(-100%); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translateY(320%);  opacity: 0.4; }
}

.event-card--glitch {
  animation: card-glitch 0.22s ease-in-out forwards;
  pointer-events: none;
}

.event-card--glitch::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lime);
  z-index: 10;
  pointer-events: none;
  animation: card-flash 0.22s ease-out forwards;
}

@keyframes card-glitch {
  0%   { transform: translate(0, 0);        filter: brightness(1); }
  20%  { transform: translate(-4px, 0) skewX(-1.5deg); filter: brightness(1.8) saturate(0); }
  45%  { transform: translate( 4px, 0) skewX( 1.5deg); filter: brightness(1); }
  70%  { transform: translate(-2px, 0);     filter: brightness(1.3); }
  100% { transform: translate(0, 0);        filter: brightness(1); }
}

@keyframes card-flash {
  0%   { opacity: 0; }
  20%  { opacity: 0.35; }
  50%  { opacity: 0; }
  75%  { opacity: 0.15; }
  100% { opacity: 0; }
}

/* ── Event Detail Page ───────────────────────────────────────────── */
.event-header {
  background: var(--black-2);
  padding: 64px 40px 0;
  position: relative;
  overflow: visible;
  border-top: 2px solid var(--lime);
}
.event-header::before { display: none; }
.event-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.event-header__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  margin-bottom: 32px;
  transition: color 0.15s;
}
.event-header__back:hover { color: var(--white); }
.event-header__badge { margin-bottom: 20px; }
.event-header__title {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 760px;
  margin-bottom: 0;
  color: var(--white);
}
.event-header__bottom {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 48px 0 52px;
}
.event-header__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* ── Calendar dropdown ──────────────────────────────── */
.cal-drop { position: relative; display: inline-block; }

.cal-drop__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: #111;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.15s;
  white-space: nowrap;
}
.cal-drop.open .cal-drop__trigger {
  border-color: rgba(255,255,255,0.22);
  border-bottom-color: transparent;
  border-radius: 8px 8px 0 0;
}
.cal-drop__trigger:hover { border-color: rgba(255,255,255,0.5); }
.cal-drop__arrow {
  margin-left: auto;
  transition: transform 0.2s ease;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.cal-drop.open .cal-drop__arrow { transform: rotate(180deg); }

.cal-drop__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  width: max-content;
  background: #111;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-top: 2px solid var(--lime);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  z-index: 200;
}
.cal-drop.open .cal-drop__menu { display: block; }

.cal-drop__item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.12s, color 0.12s;
}
.cal-drop__item:last-child { border-bottom: none; }
.cal-drop__item:hover {
  background: rgba(200,255,0,0.07);
  color: var(--lime);
}
.event-meta-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.event-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.event-meta-item__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.event-meta-item__value {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.event-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 72px;
  align-items: start;
}
.event-image {
  aspect-ratio: 16/9;
  background: var(--black-3);
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.event-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.event-content p {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
}
.event-content h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 40px 0 14px;
  color: var(--white);
}
.event-content ul {
  list-style: none;
  margin-bottom: 24px;
}
.event-content ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 10px;
}
.event-content ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.event-sidebar {
  position: sticky;
  top: 88px;
}
.event-cta-box {
  border: 1px solid var(--black-3);
  background: var(--black-2);
  padding: 32px;
  margin-bottom: 24px;
}
.event-cta-box__title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--white);
}
.event-cta-box__detail {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--black-3);
  font-size: 14px;
}
.event-cta-box__detail:last-of-type { border-bottom: none; }
.event-cta-box__detail-label { color: rgba(255,255,255,0.4); font-weight: 500; }
.event-cta-box__detail-value { font-weight: 700; color: var(--white); text-align: right; }
.event-cta-box .btn {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
}
.event-cta-box__note {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin-top: 12px;
}

.event-organiser {
  background: var(--black-2);
  border: 1px solid var(--black-3);
  padding: 24px;
}
.event-organiser__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}
.event-organiser__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.event-organiser__contact {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.event-organiser__contact:hover { color: var(--lime); }

.event-organiser--own {
  border-color: rgba(var(--lime-rgb, 200,242,62), 0.25);
  background: rgba(var(--lime-rgb, 200,242,62), 0.04);
}
.event-organiser--own .event-organiser__label { color: var(--lime); opacity: 0.7; }
.event-organiser--own .event-organiser__name { color: var(--lime); }
.event-organiser--own .event-organiser__contact { color: rgba(var(--lime-rgb, 200,242,62), 0.6); }
.event-organiser--own .event-organiser__contact:hover { color: var(--lime); }

.related-events {
  border-top: 1px solid var(--black-3);
  padding: 64px 40px;
}
.related-events__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.related-events__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  color: var(--white);
}

@media (max-width: 1024px) {
  .event-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 28px 64px;
  }
  .event-sidebar { position: static; }
}
@media (max-width: 640px) {
  .event-header { padding: 40px 20px 0; }
  .event-header__bottom { grid-template-columns: 1fr; gap: 24px; }
  .event-meta-row { gap: 24px; }
  .event-layout { padding: 32px 20px 48px; }
  .related-events { padding: 40px 20px; }
}

/* ─── ARTICLE DETAIL ──────────────────────────────── */
.article-header {
  padding: 64px 40px 0;
  max-width: var(--max);
  margin: 0 auto;
}

.article-header__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  margin-bottom: 32px;
  text-decoration: none;
  transition: color 0.15s;
}
.article-header__back:hover { color: var(--white); }

.article-header__badge { margin-bottom: 20px; }

.article-header__title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 860px;
  margin-bottom: 24px;
  color: var(--white);
}

.article-header__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1a1a1a;
}

.article-header__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-header__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2a2a2a;
  flex-shrink: 0;
}

.article-header__author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.article-header__author-org {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.article-header__date {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-left: auto;
}

.article-image {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 40px 0;
}

.article-image__inner {
  aspect-ratio: 16/7;
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.article-image__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  mix-blend-mode: luminosity;
}

.article-image__inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(204,255,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 40px 80px;
}

.article-body p {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
}

.article-body p strong { color: var(--white); font-weight: 700; }
.article-body p a { color: var(--lime); }

.article-body h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 48px 0 16px;
  color: var(--white);
}

.article-body blockquote {
  border-left: 3px solid var(--lime);
  padding: 4px 0 4px 24px;
  margin: 36px 0;
}

.article-body blockquote p {
  font-family: 'Syne Mono', monospace;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--lime);
  margin: 0;
  font-style: normal;
}

.related {
  border-top: 1px solid #1a1a1a;
  padding: 64px 40px;
}

.related__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.related__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  color: var(--white);
}

@media (max-width: 640px) {
  .article-header { padding: 40px 20px 0; }
  .article-header__meta { flex-wrap: wrap; gap: 12px; }
  .article-header__date { margin-left: 0; }
  .article-image { padding: 24px 20px 0; }
  .article-body { padding: 40px 20px 60px; }
  .article-body p { font-size: 16px; }
  .related { padding: 40px 20px; }
}

/* ── EVENT LOCATION ──────────────────────────────────── */
.event-location {
  padding: 72px 40px;
  background: var(--black-2);
  border-top: 1px solid var(--black-3);
  border-bottom: 1px solid var(--black-3);
}

.event-location__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.event-location__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}

.event-location__name {
  font-family: 'Syne Mono', monospace;
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 14px;
}

.event-location__address {
  font-size: 15px;
  line-height: 1.65;
  color: var(--grey-500);
  margin-bottom: 32px;
}

.event-location__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.event-location__cta-maps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 22px;
  transition: opacity 0.15s;
}

.event-location__cta-maps:hover { opacity: 0.82; }

.event-location__cta-preview {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.event-location__cta-preview:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.event-location__map-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--black-3);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s;
}

.event-location__map-placeholder:hover {
  border-color: var(--lime);
}

.event-location__map-pin {
  color: rgba(255,255,255,0.12);
  transition: color 0.2s;
}

.event-location__map-placeholder:hover .event-location__map-pin {
  color: var(--lime);
}

.event-location__map-placeholder-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}

.event-location__map-placeholder:hover .event-location__map-placeholder-label {
  color: var(--lime);
}

@media (max-width: 1024px) {
  .event-location { padding: 56px 28px; }
  .event-location__inner { grid-template-columns: 1fr; gap: 40px; }
  .event-location__map-placeholder { aspect-ratio: 16 / 7; }
}

@media (max-width: 640px) {
  .event-location { padding: 48px 20px; }
  .event-location__name { font-size: 24px; }
  .event-location__map-placeholder { aspect-ratio: 4 / 3; }
}

/* ── MAP MODAL ───────────────────────────────────────── */
.map-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.map-modal.open {
  opacity: 1;
  pointer-events: all;
}

.map-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.map-modal__panel {
  position: relative;
  z-index: 1;
  background: var(--black-2);
  border: 1px solid var(--black-3);
  width: 100%;
  max-width: 860px;
  max-height: 88vh;
  overflow-y: auto;
  transform: scale(0.96) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.map-modal.open .map-modal__panel {
  transform: scale(1) translateY(0);
}

.map-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  border-bottom: 1px solid var(--black-3);
}

.map-modal__title {
  font-family: 'Syne Mono', monospace;
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.01em;
}

.map-modal__close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s;
}

.map-modal__close:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.map-modal__map-wrap {
  width: 100%;
  aspect-ratio: 16 / 7;
  background: var(--black-3);
  position: relative;
}

.map-modal__map {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.map-modal__transport {
  padding: 28px 32px 32px;
  border-top: 1px solid var(--black-3);
}

.map-modal__transport-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}

.map-modal__transport-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.map-modal__transport-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--black-3);
  border: 1px solid transparent;
  color: rgba(255,255,255,0.5);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  text-align: center;
}

.map-modal__transport-btn svg {
  opacity: 0.5;
  transition: opacity 0.15s;
}

.map-modal__transport-btn:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(204,255,0,0.04);
}

.map-modal__transport-btn:hover svg { opacity: 1; }

@media (max-width: 768px) {
  .map-modal__header { padding: 18px 20px; }
  .map-modal__transport { padding: 20px; }
  .map-modal__transport-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .map-modal__map-wrap { aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
  .map-modal__panel { max-height: 92vh; }
  .map-modal__transport-btn { padding: 16px 8px; font-size: 11px; }
}

/* ── SHARE BAR ───────────────────────────────────────── */
.share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 40px;
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--black-3);
  border-bottom: 1px solid var(--black-3);
}

.share-bar__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-right: 4px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.share-btn:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(204,255,0,0.06);
}

@media (max-width: 640px) {
  .share-bar { padding: 24px 20px 32px; gap: 8px; }
  .share-btn span { display: none; }
  .share-btn { padding: 9px 12px; }
}

/* ── Outline button ─────────────────────────────────── */
.btn--outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
}
.btn--outline:hover {
  border-color: var(--lime);
  color: var(--lime);
  opacity: 1;
  transform: none;
}

/* ── Registration modal ─────────────────────────────── */
/* Reuses .map-modal overlay/panel/header/close CSS.
   Only form-specific styles are added here.           */

.reg-modal .map-modal__panel { max-width: 520px; }

.reg-modal__body {
  padding: 0 32px 32px;
  overflow-y: auto;
  max-height: calc(90vh - 72px);
}

/* Event info strip at top of form */
.reg-modal__event-info {
  padding: 16px 0 24px;
  border-bottom: 1px solid var(--black-3);
  margin-bottom: 28px;
}
.reg-modal__event-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
  font-weight: 600;
}
.reg-modal__event-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.reg-modal__event-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* Form */
.reg-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.reg-form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.reg-form__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.reg-form__required { color: var(--lime); }
.reg-form__optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: rgba(255,255,255,0.3);
}
.reg-form__input {
  background: var(--black-2);
  border: 1px solid var(--black-3);
  color: var(--white);
  padding: 13px 15px;
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.15s;
  border-radius: 0;
  -webkit-appearance: none;
  width: 100%;
  box-sizing: border-box;
}
.reg-form__input:focus { border-color: var(--lime); }
.reg-form__input::placeholder { color: rgba(255,255,255,0.18); }
.reg-form__input:invalid:not(:placeholder-shown) { border-color: rgba(255,80,80,0.6); }

.reg-form__error {
  background: rgba(255,60,60,0.08);
  border: 1px solid rgba(255,60,60,0.3);
  color: #ff7070;
  padding: 11px 14px;
  font-size: 13px;
  line-height: 1.5;
}
.reg-form__note {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
  margin-top: -4px;
}
.reg-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
.reg-form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Success state */
.reg-modal__success {
  text-align: center;
  padding: 24px 0 8px;
}
.reg-modal__success-check {
  width: 56px;
  height: 56px;
  background: var(--lime);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.reg-modal__success-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.reg-modal__success-text {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 340px;
  margin: 0 auto 28px;
}

@media (max-width: 640px) {
  .reg-modal__body { padding: 0 20px 28px; }
}

/* ── prefers-reduced-motion ─────────────────────────────
   Affects only users who enabled "Reduce Motion" in OS settings.
   All other users see the full animated experience unchanged.
────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  /* 1. Hero glitch titles — disable infinite animation */
  .hero__slide.active .hero__title::before,
  .hero__slide.active .hero__title::after {
    animation: none;
  }

  /* 2. Scroll reveal — elements appear instantly, no slide-up */
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal--visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* 3. Card click glitch — skip animation, just navigate */
  .article-card--glitch,
  .event-card--glitch {
    animation: none;
  }
  .article-card--glitch::before,
  .event-card--glitch::before {
    animation: none;
    opacity: 0;
  }

  /* 4. Button hover transforms — keep color feedback, remove movement */
  .btn:hover           { transform: none; }
  .btn:active          { transform: none; }
  .btn--primary        { transition: background 0.15s, color 0.15s; }

  /* 5. Card hover lift — remove translateY movement */
  .event-card:hover    { transform: none; }
  .article-card:hover  { transform: none; }

  /* 6. Map modal — instant open/close, no scale animation */
  .map-modal__panel {
    transition: none;
    transform: none;
  }
  .map-modal.open .map-modal__panel {
    transform: none;
  }

  /* 7. Nav burger animation */
  .nav__burger span    { transition: none; }

  /* 8. All remaining transitions — shorten to imperceptible */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
