/* ============================================================
   SCARANO MUSIC FEST 2026 — Global Stylesheet
   Mobile-first. Base = mobile, min-width overrides for larger.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --color-bg:         #0a0a0a;
  --color-bg-2:       #060606;
  --color-text:       #ffffff;
  --color-text-muted: #999999;
  --color-lime:       #c8f000;
  --color-magenta:    #e91e8c;
  --color-overlay:    rgba(0, 0, 0, 0.55);
  --color-line:       rgba(255, 255, 255, 0.15);

  --fs-hero:  clamp(3.5rem, 18vw, 6rem);
  --fs-page:  clamp(3rem, 12vw, 5rem);
  --fs-sub:   clamp(1rem, 2vw, 1.25rem);
  --fs-label: 0.75rem;
  --fs-nav:   0.8rem;

  --ff-display: 'Bebas Neue', Impact, sans-serif;
  --ff-cond:    'Barlow Condensed', 'Arial Narrow', sans-serif;
  --ff-body:    'Inter', system-ui, sans-serif;

  --nav-h: 64px;
}

/* ---------- Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--ff-body);
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
body.nav-open { overflow: hidden; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: var(--nav-h);
  background: transparent;
  transition: background 300ms ease, backdrop-filter 300ms ease;
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Logo (image) */
.nav-logo { display: flex; align-items: center; line-height: 1; }
.nav-logo img {
  height: 42px;
  width: auto;
  display: block;
  transition: transform 250ms ease;
}
.nav-logo:hover img { transform: rotate(-2deg) scale(1.05); }
.site-footer .nav-logo img { height: 52px; }

/* Desktop links (hidden on mobile) */
.nav-links {
  display: none;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.nav-links a {
  font-family: var(--ff-cond);
  font-weight: 700;
  text-transform: uppercase;
  font-size: var(--fs-nav);
  letter-spacing: 0.1em;
  color: var(--color-text);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}
.nav-links a:hover { color: var(--color-lime); }
.nav-links a.active {
  color: var(--color-lime);
  border-bottom-color: var(--color-lime);
}

/* Social column (home only) */
.nav-social { display: none; }

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  transition: transform 300ms ease, opacity 200ms ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile fullscreen menu */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.5rem, 2.2vh, 1.25rem);
  padding: calc(var(--nav-h) + 2vh) 1.5rem max(2vh, env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 300ms ease, transform 300ms ease;
}
body.nav-open .nav-mobile {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-mobile a {
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 6.5vh, 2.75rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-text);
}
.nav-mobile a.active { color: var(--color-lime); }
/* center the block vertically while staying scrollable on short screens */
.nav-mobile > :first-child { margin-top: auto; }
.nav-mobile > :last-child { margin-bottom: auto; }
.nav-mobile__social {
  display: flex;
  gap: 1.5rem;
  margin-top: clamp(0.5rem, 2vh, 1.5rem);
}
.nav-mobile__social a svg { width: 26px; height: 26px; }

/* ============================================================
   BUTTONS — rough marker / highlighter style
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-cond);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1rem;
  padding: 0.8em 1.9em;
  border: none;
  background: transparent;
  cursor: pointer;
  min-height: 44px;
  isolation: isolate;
  color: #0a0a0a;
  transition: transform 180ms ease, color 220ms ease;
}
/* the marker swash sitting behind the label */
.btn::before {
  content: '';
  position: absolute;
  inset: -5px -8px;
  z-index: -2;
  background: var(--marker, var(--color-magenta));
  transform: skewX(-4deg) rotate(-0.7deg);
  clip-path: polygon(1.5% 10%, 98% 0%, 100% 84%, 95% 100%, 2.5% 95%, 0% 16%);
  transition: transform 180ms ease;
}
/* the highlighter sweep that fills on hover */
.btn::after {
  content: '';
  position: absolute;
  inset: -5px -8px;
  z-index: -1;
  background: var(--marker-2, #ff48ad);
  transform: skewX(-4deg) rotate(-0.7deg) scaleX(0);
  transform-origin: left center;
  clip-path: polygon(1.5% 10%, 98% 0%, 100% 84%, 95% 100%, 2.5% 95%, 0% 16%);
  transition: transform 380ms cubic-bezier(0.2, 0.75, 0.3, 1);
}
.btn:hover { transform: translateY(-2px) rotate(-0.5deg); }
.btn:hover::before { transform: skewX(-4deg) rotate(-1.4deg); }
.btn:hover::after  { transform: skewX(-4deg) rotate(-0.7deg) scaleX(1); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn:focus-visible { outline: 3px dashed var(--color-text); outline-offset: 4px; }

.btn--primary { --marker: var(--color-magenta); --marker-2: #ff4fb0; color: #fff; }
.btn--outline { --marker: var(--color-lime);    --marker-2: #e4ff4d; color: #0a0a0a; }

/* ============================================================
   HERO (shared)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 6vh) 6vw 8vh;
  background-size: cover;
  background-position: 60% center;
  background-attachment: scroll;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.75) 100%);
  z-index: 0;
}
.hero__content { position: relative; z-index: 1; width: 100%; }

/* Big festival logo used on the home hero */
.hero-logo {
  width: 100%;
  max-width: min(560px, 82vw);
  height: auto;
  filter: drop-shadow(0 10px 36px rgba(0, 0, 0, 0.55));
  animation: heroLogoIn 900ms cubic-bezier(0.2, 0.75, 0.3, 1) both, heroFloat 7s ease-in-out 1s infinite;
}
@keyframes heroLogoIn {
  from { opacity: 0; transform: translateY(28px) rotate(-2deg) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
/* sr-only for the SEO heading hidden behind the logo image */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Hero title lines */
.hero-title { font-family: var(--ff-display); line-height: 0.9; letter-spacing: -0.01em; }
.hero-title .line { display: block; font-size: var(--fs-hero); text-transform: uppercase; }
.line--lime { color: var(--color-lime); }
.line--magenta { color: var(--color-magenta); }
.line--white { color: var(--color-text); }

/* FEST | 2026 block */
.hero-fest {
  display: flex;
  align-items: flex-start;
  gap: 0.3em;
}
.hero-fest__word { font-size: var(--fs-hero); color: var(--color-lime); line-height: 0.9; }
.hero-fest__sep {
  width: 3px;
  align-self: stretch;
  background: var(--color-text);
  margin: 0.1em 0.15em;
}
.hero-fest__year {
  display: grid;
  font-size: calc(var(--fs-hero) * 0.42);
  color: var(--color-magenta);
  line-height: 0.95;
  align-self: center;
}

/* Hero meta lines */
.hero-meta { margin-top: 1.5rem; font-family: var(--ff-cond); font-weight: 700; }
.hero-meta__date {
  font-size: clamp(1.05rem, 4vw, 1.4rem);
  color: var(--color-text);
  letter-spacing: 0.02em;
}
.hero-meta__date b { color: var(--color-lime); font-weight: 700; }
.hero-meta__place {
  font-size: clamp(0.95rem, 3.5vw, 1.2rem);
  color: var(--color-magenta);
  letter-spacing: 0.05em;
}

/* Subtitle paragraph used on inner heroes */
.hero-lead {
  font-family: var(--ff-cond);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1rem, 3.5vw, 1.4rem);
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-top: 1.25rem;
  max-width: 30ch;
  line-height: 1.25;
}

/* Brush banner */
.brush-banner {
  display: inline-block;
  background: var(--color-lime);
  color: #0a0a0a;
  font-family: var(--ff-cond);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(0.95rem, 4vw, 1.4rem);
  padding: 0.25em 0.7em;
  margin-top: 1.5rem;
  transform: skewX(-3deg);
}
.brush-banner span { display: inline-block; transform: skewX(3deg); }

/* Hero CTAs */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 1.75rem;
}
.hero-cta .btn { width: 100%; }

/* ============================================================
   COUNTDOWN (home)
   ============================================================ */
.countdown-wrap { margin-top: 2rem; }
.countdown-label {
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--color-magenta);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.countdown {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: rgba(0,0,0,0.4);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  width: fit-content;
}
.countdown__unit { display: flex; flex-direction: column; align-items: center; min-width: 48px; }
.countdown__value {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  color: var(--color-lime);
  line-height: 1;
}
.countdown__label {
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-top: 0.25rem;
}
.countdown__sep {
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--color-line);
  line-height: 1;
}
.countdown--done {
  font-family: var(--ff-cond);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-lime);
  text-transform: uppercase;
  font-size: 1.25rem;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 10vh 6vw; }
.section--dark { background: var(--color-bg); }
.section--darker { background: var(--color-bg-2); }

.section-title {
  font-family: var(--ff-display);
  font-size: var(--fs-page);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.section-title--lime { color: var(--color-lime); }
.section-title--magenta { color: var(--color-magenta); }

.section-lead {
  font-family: var(--ff-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  line-height: 1.3;
  margin-top: 1.25rem;
  color: var(--color-text);
}

.prose { max-width: 60ch; }
.prose p {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e6e6e6;
  margin-bottom: 1.25rem;
}

/* Two-column generic */
.two-col { display: grid; gap: 2.5rem; }
.two-col img { width: 100%; border-radius: 4px; }
/* su mobile mostra il testo sopra l'immagine (evita 2 foto di fila) */
.two-col--text-first-mobile .media-frame { order: 2; }

/* ============================================================
   FESTIVAL page extras
   ============================================================ */
.media-frame { position: relative; border-radius: 4px; overflow: hidden; }
/* contain: mostra la foto intera senza tagliare i loghi sovraimpressi */
.media-frame img { width: 100%; height: auto; display: block; }

/* ============================================================
   PROGRAMMA timeline
   ============================================================ */
.programma-grid { display: grid; gap: 3rem; }
.programma-hint {
  margin-top: 1.75rem;
  font-family: var(--ff-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--color-magenta);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.programma-hint::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--color-magenta);
}
.timeline { display: flex; flex-direction: column; }
.timeline__item { border-bottom: 1px solid var(--color-line); scroll-margin-top: 84px; }
.timeline__item:first-child { border-top: 1px solid var(--color-line); }
.timeline__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
/* chevron toggle indicator */
.timeline__chevron {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
  transition: transform 350ms cubic-bezier(0.2, 0.75, 0.3, 1);
}
.timeline__chevron::before,
.timeline__chevron::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--color-lime);
  transform: translate(-50%, -50%);
}
.timeline__chevron::before { width: 16px; height: 2px; }
.timeline__chevron::after  { width: 2px; height: 16px; transition: transform 350ms ease, opacity 250ms ease; }
.timeline__row[aria-expanded="true"] .timeline__chevron { transform: rotate(180deg); }
.timeline__row[aria-expanded="true"] .timeline__chevron::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }

/* expanding detail panel */
.timeline__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 420ms cubic-bezier(0.2, 0.75, 0.3, 1);
}
.timeline__panel.open { grid-template-rows: 1fr; }
.timeline__panel-clip { overflow: hidden; min-height: 0; }
.timeline__panel-inner {
  display: grid;
  gap: 1.5rem;
  padding: 0 0 2rem;
}
.timeline__panel-inner img {
  width: 100%;
  border-radius: 4px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.timeline__panel-text h3 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  color: var(--color-magenta);
  letter-spacing: 0.01em;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.timeline__panel-meta {
  font-family: var(--ff-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--color-lime);
  margin-bottom: 0.9rem;
}
.timeline__panel-text p {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #e6e6e6;
}
@media (min-width: 768px) {
  .timeline__panel-inner { grid-template-columns: 1.1fr 1fr; align-items: center; }
}
.timeline__date { display: flex; flex-direction: column; line-height: 1; }
.timeline__day {
  font-family: var(--ff-display);
  font-size: 3rem;
  color: var(--color-lime);
}
.timeline__month {
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
}
.timeline__info { }
.timeline__tag {
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-magenta);
  display: block;
  margin-bottom: 0.25rem;
}
.timeline__desc {
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 3rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(233, 30, 140, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 250ms ease;
}
.gallery-item__overlay svg { width: 40px; height: 40px; stroke: #fff; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}
.lightbox__btn {
  position: absolute;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  width: 48px; height: 48px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 200ms ease;
}
.lightbox__btn:hover { background: var(--color-magenta); border-color: var(--color-magenta); }
.lightbox__prev { left: 4vw; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 4vw; top: 50%; transform: translateY(-50%); }
.lightbox__close { top: 4vw; right: 4vw; }

/* slideshow nav (hero bottom) */
.slide-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  font-family: var(--ff-cond);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.slide-nav__count { color: var(--color-text); }
.slide-nav__btn {
  width: 40px; height: 40px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 200ms ease, color 200ms ease;
}
.slide-nav__btn:hover { background: var(--color-magenta); border-color: var(--color-magenta); }

/* ============================================================
   VISITA SARACENA icons
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  margin-top: 1rem;
  text-align: center;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.feature svg {
  width: 48px; height: 48px;
  stroke: var(--color-lime);
  fill: none;
  transition: transform 250ms ease;
}
.feature:hover svg { transform: scale(1.1); }
.feature span {
  font-family: var(--ff-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: var(--color-text);
}

/* ============================================================
   PARTNER grid
   ============================================================ */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  aspect-ratio: 3 / 2;
  font-family: var(--ff-cond);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  filter: grayscale(100%);
  transition: filter 250ms ease, color 250ms ease, border-color 250ms ease;
}
.partner-logo:hover {
  filter: grayscale(0%);
  color: var(--color-lime);
  border-color: var(--color-lime);
}

/* ============================================================
   CONTATTI
   ============================================================ */
.contact-grid { display: grid; gap: 3rem; }
.contact-info p {
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #e6e6e6;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.contact-info a:hover { color: var(--color-lime); }
.contact-heading {
  font-family: var(--ff-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--color-magenta);
  margin: 2rem 0 1rem;
}
.social-row { display: flex; gap: 1rem; }
.social-row a {
  width: 44px; height: 44px;
  border: 1px solid var(--color-line);
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  transition: background 200ms ease, border-color 200ms ease;
}
.social-row a svg { width: 22px; height: 22px; fill: #fff; }
.social-row a:hover { background: var(--color-magenta); border-color: var(--color-magenta); }
.map-frame {
  margin-top: 1rem;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--color-line);
}
.map-frame { position: relative; }
.map-frame iframe { width: 100%; height: 200px; border: 0; display: block; }
/* nascondi l'iframe finché non ha un src (prima del consenso) */
.map-frame iframe:not([src]) { display: none; }
/* rispetta l'attributo hidden nonostante display:flex sotto */
.map-consent[hidden] { display: none; }
.map-consent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1.25rem;
  font-family: var(--ff-cond);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  background: rgba(255,255,255,0.03);
}
.map-consent__btn {
  font-family: var(--ff-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  color: #0a0a0a;
  background: var(--color-lime);
  border: none;
  padding: 0.5em 1.1em;
  border-radius: 2px;
  cursor: pointer;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; gap: 1.5rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-family: var(--ff-cond);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 16px;
  padding: 0.75rem 0;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--color-lime);
}
.contact-form .field-error {
  border-bottom-color: var(--color-magenta);
}
.error-msg {
  color: var(--color-magenta);
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.35rem;
  display: block;
}
.form-success,
.form-fail {
  font-family: var(--ff-cond);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.form-success { color: var(--color-lime); }
.form-fail { color: var(--color-magenta); }
/* honeypot — hidden from humans, catches bots */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ============================================================
   LEGAL (privacy / cookie page)
   ============================================================ */
.legal { max-width: 70ch; }
.legal h2 {
  font-family: var(--ff-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.25rem;
  color: var(--color-lime);
  margin: 2.25rem 0 0.75rem;
}
.legal p, .legal li {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: #d8d8d8;
  margin-bottom: 0.9rem;
}
.legal ul { padding-left: 1.2rem; list-style: disc; }
.legal a { color: var(--color-magenta); border-bottom: 1px solid transparent; }
.legal a:hover { border-bottom-color: var(--color-magenta); }
.legal-note {
  border-left: 3px solid var(--color-magenta);
  padding: 0.75rem 1rem;
  background: rgba(233, 30, 140, 0.07);
  font-size: 0.9rem !important;
  color: #c8c8c8 !important;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translate(-50%, 150%);
  width: min(680px, calc(100vw - 2rem));
  z-index: 1500;
  background: #111;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  padding: 1.25rem 1.25rem 1.1rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.3, 1);
}
.cookie-banner.show { transform: translate(-50%, 0); }
.cookie-banner p {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #d8d8d8;
  margin-bottom: 1rem;
}
.cookie-banner a { color: var(--color-lime); border-bottom: 1px solid transparent; }
.cookie-banner a:hover { border-bottom-color: var(--color-lime); }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.cookie-banner__actions .btn { font-size: 0.85rem; padding: 0.65em 1.4em; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-bg-2);
  padding: 4vh 6vw;
  border-top: 1px solid var(--color-line);
  display: grid;
  gap: 1.5rem;
  text-align: center;
}
.site-footer .nav-logo { justify-content: center; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}
.footer-links a {
  font-family: var(--ff-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.footer-links a:hover { color: var(--color-lime); }
.footer-meta { display: grid; gap: 0.35rem; }
.footer-copy {
  font-family: var(--ff-cond);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}
.footer-credit {
  font-family: var(--ff-cond);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #777;
}
.footer-credit a {
  color: var(--color-text-muted);
  border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}
.footer-credit a:hover { color: var(--color-lime); border-bottom-color: var(--color-lime); }
.footer-heart { color: var(--color-magenta); }
@media (min-width: 768px) {
  .footer-meta { text-align: right; justify-items: end; }
}

/* ============================================================
   PAGE INTRO (non-hero pages share hero look; this sits below)
   ============================================================ */
.intro-split { display: grid; gap: 2rem; align-items: center; }

/* ============================================================
   RESPONSIVE — TABLET >= 768px
   ============================================================ */
@media (min-width: 768px) {
  :root { --fs-hero: clamp(4.5rem, 10vw, 8rem); }

  .nav-toggle { display: none; }
  .nav-mobile { display: none; }
  .nav-links { display: flex; }

  .hero-cta { flex-direction: row; gap: 1.75rem; }
  .hero-cta .btn { width: auto; }

  .countdown__value { font-size: 3rem; }
  .countdown__unit { min-width: 64px; }
  .countdown__sep { font-size: 2.75rem; }

  .two-col { grid-template-columns: 1fr 1fr; align-items: center; }
  .two-col--text-first-mobile .media-frame { order: 0; }
  .intro-split { grid-template-columns: 1fr 1fr; }

  .programma-grid { grid-template-columns: 45% 55%; align-items: start; gap: 4rem; }

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

  .feature-grid { grid-template-columns: repeat(4, 1fr); }

  .partner-grid { grid-template-columns: repeat(3, 1fr); }

  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .form-row { grid-template-columns: 1fr 1fr; }

  .site-footer { grid-template-columns: auto 1fr auto; text-align: left; align-items: center; }
  .site-footer .nav-logo { justify-content: flex-start; }
  .footer-links { justify-content: center; }
}

/* ============================================================
   RESPONSIVE — DESKTOP >= 1200px
   ============================================================ */
@media (min-width: 1200px) {
  :root { --fs-hero: clamp(5rem, 11vw, 11rem); }

  .navbar { padding: 0 4vw; }

  .hero { padding: calc(var(--nav-h) + 4vh) 6vw 6vh; }

  /* Home hero two-zone layout: title left, countdown right */
  .hero--home .hero__content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 3rem;
  }
  .hero--home .countdown-wrap { margin-top: 0; align-self: end; }

  .countdown__value { font-size: 3.5rem; }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  .partner-grid { grid-template-columns: repeat(4, 1fr); }

  /* Social vertical column on home navbar */
  .nav-social {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: fixed;
    right: 2.5vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
  }
  .nav-social a svg { width: 22px; height: 22px; fill: #fff; transition: fill 200ms ease; }
  .nav-social a:hover svg { fill: var(--color-magenta); }
}

/* Small phones: hide countdown separators */
@media (max-width: 360px) {
  .countdown__sep { display: none; }
  .countdown { gap: 0.4rem; }
}

/* ============================================================
   SITE-WIDE ANIMATIONS
   ============================================================ */

/* Scroll reveal (applied by JS to key elements) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }

/* Hero content entrance (non-home heroes) */
.hero__content > * { animation: fadeUp 800ms cubic-bezier(0.2, 0.75, 0.3, 1) both; }
.hero__content > *:nth-child(2) { animation-delay: 120ms; }
.hero__content > *:nth-child(3) { animation-delay: 220ms; }
.hero__content > *:nth-child(4) { animation-delay: 320ms; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Animated underline for desktop nav links */
.nav-links a { position: relative; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--color-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms cubic-bezier(0.2, 0.75, 0.3, 1);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { border-bottom-color: transparent; }
.nav-links a.active::after { transform: scaleX(1); }

/* Brush banner gets a subtle "drawn" pulse */
.brush-banner {
  animation: brushIn 700ms cubic-bezier(0.2, 0.75, 0.3, 1) 300ms both;
}
@keyframes brushIn {
  from { opacity: 0; transform: skewX(-3deg) scaleX(0.7); transform-origin: left; }
  to   { opacity: 1; transform: skewX(-3deg) scaleX(1); }
}
.brush-banner:hover { animation: brushWobble 600ms ease; }
@keyframes brushWobble {
  0%, 100% { transform: skewX(-3deg) rotate(0); }
  30%      { transform: skewX(-3deg) rotate(-1.2deg); }
  60%      { transform: skewX(-3deg) rotate(0.8deg); }
}

/* Countdown values gently pop when they refresh */
.countdown__value { transition: color 200ms ease; }

/* Timeline rows slide their day number on hover */
.timeline__row { transition: background 250ms ease; }
.timeline__row:hover { background: rgba(255, 255, 255, 0.03); }
.timeline__day { transition: transform 250ms ease, color 250ms ease; display: inline-block; }
.timeline__row:hover .timeline__day { transform: translateX(4px); color: var(--color-magenta); }

/* Feature icons + partner logos lift on hover */
.feature, .partner-logo { transition: transform 250ms ease, filter 250ms ease, color 250ms ease, border-color 250ms ease; }
.feature:hover { transform: translateY(-4px); }
.partner-logo:hover { transform: translateY(-4px) rotate(-1deg); }

/* Media frames zoom slightly on hover */
.media-frame img { transition: transform 500ms ease; }
.media-frame:hover img { transform: scale(1.05); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
