/* =========================================================
   ROOFLESS — design tokens
   Lifted directly from the event flyer: black ground, neon
   red/green/gold outline type, rounded "flyer panel" cards.
========================================================= */
:root{
  --black: #000000;
  --black-soft: #121212;
  --red: #B8332B;
  --red-deep: #7a0e16;
  --green: #408830;
  --green-deep: #0c3d1a;
  --gold: #D8C040;
  --cream: #f3eee3;
  --cream-dim: #cfc9bd;

  --radius-panel: 28px;
  --radius-pill: 999px;
  /* The ROOFLESS signature frame, lifted from the logo's letterform
     panel: two opposite corners curve, two stay sharp. Two sizes —
     a larger one for panels/cards/hero buttons, a smaller one for
     tags/inputs/sticky elements. */
  --radius-sig-lg: 26px;
  --radius-sig-sm: 14px;

  --font-display: "Anton", "Archivo Black", sans-serif;
  --font-body: "Poppins", sans-serif;

  --maxw: 480px;
}

*{ box-sizing: border-box; }

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

a{ color: inherit; text-decoration: none; }

:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   SIGNATURE SHAPE — the ROOFLESS frame
   Taken directly from the logo's lettering panel: top-left and
   bottom-right stay sharp, top-right and bottom-left curve. This
   is the one recurring shape device across the whole site —
   cards, panels, buttons, tags, inputs all use it instead of
   generic rounded rectangles or pills.
========================================================= */
.frame-signature{
  border-radius: 0 var(--radius-sig-lg) 0 var(--radius-sig-lg);
}
.frame-signature-sm{
  border-radius: 0 var(--radius-sig-sm) 0 var(--radius-sig-sm);
}

/* =========================================================
   Shared section rhythm
========================================================= */
.section{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
}

.section-title{
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 2.6rem);
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.title-gold{ color: var(--gold); text-shadow: 0 0 18px rgba(244,196,48,0.45); }
.title-red{ color: var(--red); text-shadow: 0 0 18px rgba(230,57,70,0.45); }

.section-kicker{
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--cream-dim);
  margin: 0 0 32px;
  text-transform: uppercase;
}

.rule{
  width: 56px;
  height: 4px;
  margin: 0 auto 28px;
  border-radius: 2px;
}
.rule-gold{ background: var(--gold); box-shadow: 0 0 12px rgba(244,196,48,0.6); }

/* =========================================================
   Buttons
========================================================= */
.btn{
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
}
.btn-primary{
  background: linear-gradient(180deg, var(--red) 0%, #c4202c 100%);
  color: var(--cream);
  box-shadow: 0 0 0 2px var(--gold), 0 8px 24px rgba(230,57,70,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary:hover, .btn-primary:focus-visible{
  transform: translateY(-1px);
  box-shadow: 0 0 0 2px var(--gold), 0 10px 28px rgba(230,57,70,0.5);
}
.btn-primary:active{ transform: translateY(0); }

/* =========================================================
   Sticky CTA
========================================================= */
.sticky-cta{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 50;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 14px 28px;
  box-shadow: 0 0 0 2px var(--red), 0 10px 24px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  width: max-content;
  max-width: 86vw;
  white-space: nowrap;
}
.sticky-cta.visible{
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   1. HERO
   Uses the provided landing-page flyer image directly as the
   visual — date, wordmark, and tagline are already designed
   into that asset, so nothing is redrawn in CSS/type here.
   Only the Zürich badge and the two CTAs are overlaid at the
   bottom, where the flyer's own composition has empty space.
========================================================= */
.hero{
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
  padding: 24px 0;
}

.hero-flyer{
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
}

.hero-bottom{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 20px 24px 8px;
  width: 100%;
  max-width: 480px;
}

.pill{
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  border: 1.5px solid var(--green);
  color: var(--cream);
}
.pill-solid{
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--green);
  border-color: var(--green);
  color: var(--black);
  padding: 9px 22px;
}

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

.hero-btn{ font-size: 1rem; padding: 16px 28px; }

.btn-outline{
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  box-shadow: 0 0 16px rgba(244,196,48,0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-outline:hover, .btn-outline:focus-visible{
  background: rgba(244,196,48,0.08);
  transform: translateY(-1px);
}
.btn-outline:active{ transform: translateY(0); }

.scroll-hint{
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-hint span{
  display: block;
  width: 2px;
  height: 28px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse{
  0%{ opacity: 0; transform: translateY(-4px); }
  40%{ opacity: 1; }
  100%{ opacity: 0; transform: translateY(14px); }
}

/* =========================================================
   2. ABOUT
========================================================= */
.about-text{
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--cream);
  margin: 0;
}

/* =========================================================
   Flyer-style rounded panels (LIVE ART / MUSIC / DRINKS motif)
========================================================= */
.panel{
  padding: 36px 26px;
  position: relative;
  overflow: hidden;
}
.panel-red{
  background: radial-gradient(120% 140% at 30% 0%, rgba(230,57,70,0.22), var(--black-soft) 70%);
  border: 2px solid var(--red);
  box-shadow: 0 0 26px rgba(230,57,70,0.25);
}
.panel-green{
  background: radial-gradient(120% 140% at 30% 0%, rgba(31,138,58,0.22), var(--black-soft) 70%);
  border: 2px solid var(--green);
  box-shadow: 0 0 26px rgba(31,138,58,0.25);
}
.panel-eyebrow{
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.3rem;
  margin: 0 0 18px;
  color: inherit;
}
.panel-red .panel-eyebrow{ color: var(--red); text-shadow: 0 0 12px rgba(230,57,70,0.5); }
.panel-green .panel-eyebrow{ color: var(--green); text-shadow: 0 0 12px rgba(31,138,58,0.5); }

/* =========================================================
   6b. DRINK SPONSORS
   A quiet logo row under Catering, not a carousel. Logos are
   rendered mono/cream via filter so a colorful brand logo never
   clashes with the site's red/gold/green glow system — drop
   transparent PNGs (any color) into assets/sponsor-drink-1.png
   and assets/sponsor-drink-2.png and they'll match automatically.
   Remove .sponsor-logo-img's filter rule below if a sponsor's
   original full-color logo should be kept as-is instead.
========================================================= */
.sponsor-block{
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(243,238,227,0.12);
  text-align: center;
}
.sponsor-heading{
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin: 0 0 18px;
}
.sponsor-logos{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 12px;
}
.sponsor-logo-wrap{
  width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sponsor-logo-img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Sponsor logos here are pre-colored green-on-black (matching the
     site's own green accent), so no desaturation/recolor filter is
     applied — just a soft glow consistent with .title-green /
     .card-green elsewhere on the site. If a future sponsor logo
     comes in full brand colors instead, either swap this for the
     grayscale treatment (see notes.md) or leave it — small logos at
     this size read fine either way as long as the background is
     transparent or solid black. */
  filter: drop-shadow(0 0 6px rgba(64,136,48,0.45));
  opacity: 0.92;
  transition: opacity 0.2s ease;
}
.sponsor-logo-img:hover{ opacity: 1; }
.sponsor-logo-fallback{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed rgba(243,238,227,0.3);
  border-radius: 0 10px 0 10px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(207,201,189,0.5);
  text-align: center;
  padding: 4px;
}

@media (max-width: 400px){
  .sponsor-logos{ gap: 16px; }
  .sponsor-logo-wrap{ width: 140px; height: 78px; }
}

/* =========================================================
   4–6. CULTURE SECTIONS — Live Art / Music / Catering
   All three share one structure: title, tag row, carousel,
   cards. Color comes from a per-section accent class so the
   layout, spacing, and card system stay identical.
========================================================= */
.title-green{ color: var(--green); text-shadow: 0 0 18px rgba(31,138,58,0.45); }

.culture-section{ padding-bottom: 24px; }
/* Tighter gap specifically between consecutive culture sections
   (Live Art → Djanes → Catering) — overrides the inherited
   .section padding-top only when a culture-section follows another
   culture-section, so the About→Live Art gap and the
   Catering→Register gap stay untouched. */
.culture-section + .culture-section{ padding-top: 24px; }

.tag-row{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.tag{
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 7px 14px;
  border: 1.5px solid currentColor;
  background: rgba(255,255,255,0.02);
}
.tag-red{ color: var(--red); }
.tag-gold{ color: var(--gold); }
.tag-green{ color: var(--green); }

.carousel{
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  padding: 4px 12px 12px;
  margin: 0 -24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar{ display: none; }

.carousel-track{
  display: flex;
  gap: 16px;
}

/* Card — shared by all three carousels. Accent comes from a
   modifier class (.card-red / .card-gold / .card-green) so the
   same markup/sizing serves Live Art, Music, and Catering. */
.culture-card{
  display: block;
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: 240px;
  border-radius: 0 var(--radius-sig-lg) 0 var(--radius-sig-lg);
  overflow: hidden;
  position: relative;
  background: var(--black-soft);
  border: 2px solid var(--gold);
  box-shadow: 0 0 20px rgba(244,196,48,0.2);
}
.culture-card.card-red{ border-color: var(--red); box-shadow: 0 0 20px rgba(230,57,70,0.2); }
.culture-card.card-gold{ border-color: var(--gold); box-shadow: 0 0 20px rgba(244,196,48,0.2); }
.culture-card.card-green{ border-color: var(--green); box-shadow: 0 0 20px rgba(31,138,58,0.2); }

.culture-card .img-wrap{
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #1a1a1a;
}
.culture-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-fallback{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-body);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 10px, transparent 10px 20px), var(--black-soft);
}
.img-fallback .ph-icon{
  width: 38px;
  height: 38px;
  border-radius: 0 10px 0 10px;
  border: 1.5px dashed rgba(243,238,227,0.35);
}
.img-fallback .ph-label{
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(207,201,189,0.5);
}

/* Name bar — slim strip under the photo, name on the left, an
   Instagram icon badge on the right when a handle exists. This
   is the only clickable element (not the whole card). */
.culture-card .card-info{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  text-align: left;
  min-height: 52px;
}
.culture-card .card-name-wrap{
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.culture-card .card-name{
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-red .card-name{ color: var(--red); text-shadow: 0 0 10px rgba(230,57,70,0.4); }
.card-gold .card-name{ color: var(--gold); text-shadow: 0 0 10px rgba(244,196,48,0.5); }
.card-green .card-name{ color: var(--green); text-shadow: 0 0 10px rgba(31,138,58,0.4); }

.culture-card .card-role{
  display: block;
  font-size: 0.78rem;
  color: var(--cream-dim);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* The Instagram badge itself — small circular icon button, the
   actual click/tap target, sitting in the name bar. */
.card-ig-badge{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  transition: transform 0.15s ease, background 0.15s ease;
}
.card-red .card-ig-badge{ color: var(--red); }
.card-gold .card-ig-badge{ color: var(--gold); }
.card-green .card-ig-badge{ color: var(--green); }
.card-ig-badge:hover, .card-ig-badge:focus-visible{
  background: currentColor;
}
.card-ig-badge:hover svg, .card-ig-badge:focus-visible svg{
  filter: brightness(0);
}
.card-ig-badge:active{ transform: scale(0.92); }
.card-ig-badge svg{
  width: 17px;
  height: 17px;
  display: block;
}

.carousel-dots{
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}
.carousel-dots .dot{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(243,238,227,0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dots .dot.active{
  transform: scale(1.3);
}
/* Dot color matches each section's accent, set via a modifier
   class on the dots container so it stays in sync with the
   cards/border colors above it. */
.carousel-dots.dots-red .dot.active{ background: var(--red); }
.carousel-dots.dots-gold .dot.active{ background: var(--gold); }
.carousel-dots.dots-green .dot.active{ background: var(--green); }

/* =========================================================
   8. LOCATION
========================================================= */
.location-text{
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--red);
  text-shadow: 0 0 12px rgba(230,57,70,0.5);
  margin: 0 0 10px;
}
.location-sub{
  font-size: 0.92rem;
  color: var(--cream-dim);
  line-height: 1.55;
  margin: 0 0 24px;
}
.location-btn{ width: 100%; }

/* =========================================================
   7. REGISTRATION
========================================================= */
.register-sub{
  color: var(--cream-dim);
  font-size: 0.95rem;
  margin: 0 0 28px;
  line-height: 1.5;
}

.hp-field{
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.signup-form{
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.field{
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--cream-dim);
  letter-spacing: 0.02em;
}
.field em{ color: rgba(207,201,189,0.6); font-style: normal; }

.field input[type="text"],
.field input[type="email"]{
  background: var(--black-soft);
  border: 1.5px solid rgba(243,238,227,0.25);
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--cream);
  font-family: var(--font-body);
  transition: border-color 0.15s ease;
}
.field input[type="text"]:focus,
.field input[type="email"]:focus{
  border-color: var(--gold);
  outline: none;
}

.field-checkbox{
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--cream-dim);
}
.field-checkbox input{
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  flex: 0 0 auto;
}

.submit-btn{
  margin-top: 6px;
  width: 100%;
}

.form-error{
  color: var(--red);
  font-size: 0.85rem;
  margin: 0;
  text-align: center;
}

.signup-success{
  border: 2px solid var(--green);
  border-radius: 0 var(--radius-sig-lg) 0 var(--radius-sig-lg);
  padding: 22px;
  margin-top: 18px;
  background: radial-gradient(120% 140% at 30% 0%, rgba(31,138,58,0.18), var(--black-soft) 70%);
}
.signup-success p{
  margin: 0;
  color: var(--cream);
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.5;
}

.privacy-note{
  font-size: 0.78rem;
  color: var(--cream-dim);
  line-height: 1.6;
  margin: 22px 0 0;
}
.privacy-note a{
  color: var(--gold);
  text-decoration: underline;
}

/* =========================================================
   FOOTER
========================================================= */
.footer{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 24px 110px;
  text-align: center;
  border-top: 1px solid rgba(243,238,227,0.12);
}
.footer-logo{
  display: block;
  width: min(280px, 80%);
  height: auto;
  margin: 0 auto 18px;
  opacity: 0.95;
}
.footer-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--cream-dim);
  margin-bottom: 18px;
}
.footer-links a:hover, .footer-links a:focus-visible{ color: var(--gold); }
.footer-privacy{
  font-size: 0.75rem;
  color: rgba(207,201,189,0.6);
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto 18px;
}
.footer-copy{
  font-size: 0.75rem;
  color: rgba(207,201,189,0.45);
  margin: 0;
}

/* =========================================================
   Larger screens — keep it mobile-first, just center the column
========================================================= */
@media (min-width: 600px){
  .section{ padding: 88px 24px; }
  .hero{ padding-top: 64px; }
}
