/* ==========================================================================
   GOGOL BORDERO REPUBLIC — stylesheet
   Palette: near-black #121212, punk yellow #F5D400, pink #E8236B,
            republic blue #1E3EA8, off-white paper #F2EFE8
   Type: 'Bangers' (grunge logo lockup only), 'Roboto Slab' (all headings +
         display copy), 'Space Mono' (body copy), 'Oswald' (tags/labels/UI)
   ========================================================================== */

:root{
  --ink:#121212;
  --paper:#f2efe8;
  --yellow:#f5d400;
  --pink:#e8236b;
  --blue:#1e3ea8;
  --blue-deep:#152c7c;
  --grey-line:#3a3a3a;
  --max-w:1180px;
  --pad:24px;
  --pad-lg:40px;
  --card-pad:20px;
  --content-w:calc(var(--max-w) - (var(--pad) * 2));
  font-size:16px;
}

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

html{scroll-behavior:smooth;width:100%;overflow-x:hidden;}

body{
  width:100%;
  background:var(--paper);
  color:var(--ink);
  font-family:'Space Mono', monospace;
  line-height:1.6;
  overflow-x:hidden;
}

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

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

h1,h2,h3{
  font-family:'Roboto Slab', serif;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0;
  line-height:1.05;
}

.fist-inline{
  display:inline-block;
  height:.85em;
  width:auto;
  vertical-align:baseline;
  transform:translateY(6%);
}
.fist-inline.big{height:.7em;}

/* ---------- Layout helpers ---------- */
.section{
  max-width:var(--max-w);
  margin:0 auto;
  padding:56px var(--pad);
}
.content-col{
  max-width:var(--content-w);
  margin:0 auto;
}
.section-title{
  font-size:clamp(2rem, 6vw, 3rem);
  margin-bottom:20px;
  position:relative;
  display:inline-block;
  font-weight:900;
}
.section-title::after{
  content:"";
  display:block;
  width:70%;
  height:6px;
  background:var(--pink);
  margin-top:10px;
  border-radius:2px;
  transform:rotate(-1deg);
}
.section-title.dark{color:var(--ink);}
.section-title.img-title::after{display:none;}
.section-title.img-title img{
  display:block;
  max-width:100%;
  height:auto;
  width:340px;
}
.section-title.no-line::after{display:none;}
.title-underline{
  width:260px;
  max-width:70%;
  height:auto;
  margin:-6px 0 20px;
}
.section-heading-row{
  display:flex;
  align-items:flex-end;
  gap:16px;
  flex-wrap:wrap;
}
.squiggle-arrow{
  width:64px;
  height:56px;
  color:var(--ink);
  flex-shrink:0;
  margin-bottom:14px;
}

/* ---------- Torn-paper edge transitions between sections ---------- */
.torn-edge{
  position:absolute;
  left:0;
  width:100%;
  height:auto;
  max-height:100px;
  object-fit:cover;
  object-position:center;
  display:block;
  pointer-events:none;
  z-index:3;
}
.torn-edge-top{top:0;transform:translateY(-99%);}
.torn-edge-bottom{bottom:0;transform:translateY(99%);}
.torn-edge-tall{max-height:150px;}
.torn-edge-paper-bg{background:var(--paper);}
.torn-edge-jagged{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:44px;
  transform:translateY(-99%);
  pointer-events:none;
  z-index:3;
}
.torn-edge-jagged.at-bottom{transform:translateY(99%);top:auto;bottom:0;}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative;
  min-height:100vh;
  min-height:100svh;
  display:flex;
  align-items:stretch;
  color:#fff;
  background:#fff url('assets/texture-paper.png') no-repeat bottom center;
  background-size:100% auto;
  overflow:hidden;
}
.hero-media{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-media picture{
  display:block;
  width:100%;
  height:100%;
}
.hero-media img{
  width:100%;height:100%;object-fit:cover;object-position:center bottom;
  filter:grayscale(1) contrast(1.05);
}
.hero-scrim{
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 35%, rgba(0,0,0,.6) 62%, rgba(0,0,0,0) 78%);
}
.hero-content{
  position:relative;
  z-index:1;
  padding:64px var(--pad) 20px;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.tag-welcome{
  width:min(270px, 58vw);
  margin-bottom:6px;
  margin-top:-20px;
  margin-left:-24px;
}
.logo-hero{
  width:min(320px, 62vw);
  margin-top:-50px;
  margin-bottom:90px;
}
.tag-date{
  width:230px;
  margin-bottom:4px;
}
@media (max-width:699px){
  .hero{min-height:0;}
  .hero-media img{object-position:60% bottom;}
  .tag-welcome{width:66vw;}
  .logo-hero{width:45vw;margin-left:7vw;}
  .tag-date{width:46vw;margin-left:-24px;}
}
.hero-tagline{
  font-family:'Roboto Slab', serif;
  font-weight:700;
  font-size:clamp(1.6rem, 6vw, 2.4rem);
  line-height:1.15;
  margin-bottom:22px;
  text-transform:none;
}
.hero-tagline em{
  font-style:normal;
  color:var(--yellow);
}
.btn-cta{
  display:inline-block;
  margin-bottom:26px;
  transition:transform .15s ease;
}
.btn-cta:hover{transform:scale(1.03);}
.btn-cta img{width:220px;}

.hero-stickers{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  align-self:flex-end;
  margin-top:auto;
  gap:0;
}
.hero-stickers img{width:210px;}
.hero-stickers .sticker-2{margin-top:-14px;margin-right:-10px;}

/* ==========================================================================
   WHAT IS
   ========================================================================== */
.what-is-inner{
  position:relative;
  max-width:var(--content-w);
  margin:0 auto;
}
.paper-block{
  position:relative;
  overflow:visible;
  background:#fff url('assets/texture-paper.png') no-repeat top center;
  background-size:100% auto;
}
.what-is{
  max-width:none;
}
.what-is-text{
  max-width:640px;
  margin:0 auto;
}
.megaphone-icon{
  float:right;
  width:96px;
  margin:4px 0 12px 18px;
  opacity:.9;
}
.what-is p{
  margin-bottom:18px;
  font-size:1rem;
  max-width:640px;
}
.what-is p:last-of-type{margin-bottom:0;}
/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.heading-img{
  display:block;
  height:auto;
  margin-bottom:8px;
}
.heading-how{width:360px;max-width:100%;}

.how-it-works-inner{position:relative;max-width:640px;margin:0 auto;}
.how-it-works{padding-bottom:340px;}

.steps{
  list-style:none;
  margin-top:36px;
  display:flex;
  flex-direction:column;
  gap:22px;
  max-width:none;
}
.step{
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.step-num{
  flex-shrink:0;
  width:44px;
  height:44px;
  border:2px solid var(--ink);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:'Roboto Slab', serif;
  color:var(--pink);
  font-size:1.15rem;
}
.step p{font-size:1rem;padding-top:4px;display:flex;align-items:center;flex-wrap:wrap;gap:6px;}
.tag-inline{
  height:1.6em;
  width:auto;
  vertical-align:middle;
}

.proof-phone{
  position:absolute;
  top:64px;
  right:0;
  width:110px;
}
.mini-arrow{
  position:absolute;
  top:322px;
  right:80px;
  width:50px;
  height:auto;
  color:var(--ink);
}
.proof-pins{
  position:absolute;
  top:340px;
  right:0;
  width:88px;
  border-radius:12px;
}

.citizen-pass-img{
  display:block;
  position:absolute;
  z-index:5;
  top:0;
  left:50%;
  width:340px;
  max-width:80%;
  transform:translate(-50%, -70%);
}

/* ==========================================================================
   MUSIC WITH PURPOSE (Ukraine)
   ========================================================================== */
.purpose{
  position:relative;
  background:var(--blue);
  color:#fff;
  max-width:none;
  padding:56px var(--pad) 72px;
  overflow:visible;
}
.heading-purpose{width:340px;max-width:100%;margin-bottom:12px;}
.purpose .content-col{max-width:640px;margin-top:130px;}
.purpose p{
  max-width:none;
  margin-bottom:16px;
  font-size:1.05rem;
}
.purpose-lead{
  font-family:'Oswald',sans-serif;
  font-weight:800;
  text-transform:uppercase;
  font-size:1.1rem;
  max-width:520px;
  margin-top:28px;
}
.blue-yellow-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin:6px 0 26px;
  flex-wrap:wrap;
}
.blue-yellow-img{
  height:auto;
  width:220px;
  max-width:68%;
}
.heart-icon{
  width:48px;height:auto;flex-shrink:0;
}
.sticker-banner-img{
  display:block;
  width:260px;
  max-width:100%;
  margin-top:24px;
}

/* ==========================================================================
   INSTITUTIONS
   ========================================================================== */
.institutions{position:relative;background:var(--ink);color:#fff;max-width:none;overflow:visible;}
.institutions .section-title{color:#fff;}
.torn-edge-jagged-black{
  background:var(--ink);
  clip-path:polygon(0% 100%, 3% 45%, 7% 70%, 12% 25%, 18% 58%, 24% 15%, 30% 48%, 36% 78%, 42% 30%, 48% 62%, 55% 18%, 61% 52%, 67% 82%, 73% 32%, 79% 66%, 85% 22%, 91% 56%, 97% 36%, 100% 100%);
}
.section-sub{
  font-family:'Oswald',sans-serif;
  font-weight:600;
  font-size:1.1rem;
  color:#ccc;
  margin-bottom:32px;
}
.venue-list{
  max-width:var(--content-w);
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr;
  gap:28px;
}
.venue-card{
  border-radius:16px;
  overflow:hidden;
  background:#1c1c1c;
}
.venue-photo{
  position:relative;
  aspect-ratio:4/5;
  overflow:hidden;
}
.venue-photo img:not(.venue-badge){
  width:100%;height:100%;object-fit:cover;
  filter:brightness(.75);
  transition:transform .5s ease;
}
.venue-card:hover .venue-photo img:not(.venue-badge){transform:scale(1.04);}
.venue-photo::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.32) 42%, rgba(0,0,0,0) 64%);
  pointer-events:none;
  z-index:1;
}
.venue-badge{
  position:absolute;
  top:16px;left:16px;
  z-index:2;
  font-size: 20px;
  line-height: 20px;
  font-weight: bold;
  background: #e5287e;
  padding: 6px 16px;
  width:auto;
  transform:rotate(-2deg);
  filter:drop-shadow(0 3px 6px rgba(0,0,0,.45));
}
.venue-tags{
  position:absolute;
  top:62px;left:18px;right:16px;
  z-index:2;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:6px;
  font-family:'Oswald',sans-serif;
  font-weight:600;
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.5px;
}
.venue-location{
  position:absolute;
  bottom:16px;right:16px;
  z-index:2;
  display:flex;
  align-items:center;
  gap:6px;
  background:rgba(0,0,0,.55);
  color:#fff;
  padding:6px 12px;
  border-radius:20px;
  font-size:.85rem;
  font-family:'Oswald',sans-serif;
}
.venue-location-group{
  position:absolute;
  bottom:16px;right:16px;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:6px;
}
.venue-location-item{
  display:flex;
  align-items:center;
  gap:6px;
  background:rgba(0,0,0,.55);
  color:#fff;
  padding:6px 12px;
  border-radius:20px;
  font-size:.85rem;
  font-family:'Oswald',sans-serif;
  white-space:nowrap;
}
.pin-icon{width:16px;height:16px;color:var(--yellow);flex-shrink:0;}
.venue-tags li{
  position:relative;
  padding-left:14px;
  color:#fff;
  text-shadow:0 1px 3px rgba(0,0,0,.55);
}
.venue-tags li::before{
  content:"";
  position:absolute;
  left:0;top:50%;
  width:6px;height:6px;
  border-radius:50%;
  background:var(--pink);
  transform:translateY(-50%);
}

/* ==========================================================================
   VENUES MAP
   ========================================================================== */
.venues-map{background:var(--ink);color:#fff;max-width:none;padding-top:56px;padding-bottom:64px;}
.map-single{
  position:relative;
  max-width:var(--content-w);
  margin:0 auto;
  height:420px;
  border-radius:16px;
  overflow:hidden;
  background:#1c1c1c;
}
.map-single iframe{
  position:absolute;
  top:-64px;
  left:0;
  display:block;
  width:100%;
  height:calc(100% + 64px);
  border:0;
  /* keyless Google embed comes light by default — invert it to match
     the site's dark theme (no API key/custom styling available here) */
  filter:invert(92%) hue-rotate(180deg) contrast(0.9);
}

/* ==========================================================================
   NOW PLAYING
   ========================================================================== */
.now-playing .section-title{color:#fff;}
.now-playing{background:var(--ink);color:#fff;max-width:none;padding-bottom:140px;}
.now-playing .squiggle-arrow{color:#fff;}

.player{
  max-width:var(--content-w);
  margin:36px auto 0;
  background:#1a1a1a;
  border-radius:18px;
  padding:16px;
}
.spotify-embed{
  display:block;
  width:100%;
  border:0;
  border-radius:12px;
}

.spotify-cta{
  display:block;
  text-align:center;
  margin-top:20px;
  transition:transform .15s ease;
}
.spotify-cta img{
  width:260px;
  max-width:100%;
  margin:0 auto;
}
.spotify-cta:hover{transform:scale(1.03);}

/* ==========================================================================
   PARTNERS
   ========================================================================== */
.partners{position:relative;background:#fff;max-width:none;text-align:center;overflow:visible;}
.partners .section-title{margin-left:auto;margin-right:auto;}
.partners .section-title::after{margin-left:auto;margin-right:auto;}
.partner-grid{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:32px 40px;
  max-width:840px;
  margin:40px auto 0;
}
.partner-grid img{
  max-height:78px;
  width:auto;
  object-fit:contain;
  filter:grayscale(1);
  opacity:.85;
  transition:opacity .2s ease, filter .2s ease;
}
.partner-grid img:hover{opacity:1;filter:none;}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{
  position:relative;
  background:var(--ink);
  color:#fff;
  text-align:center;
  padding:150px var(--pad) 40px;
}
.footer-logo{
  display:inline-flex;
  justify-content:center;
  margin-bottom:14px;
}
.footer-logo img{width:180px;}
.footer-note{
  color:#999;
  font-family:'Oswald',sans-serif;
  font-size:.85rem;
  margin-bottom:18px;
}
.back-to-top{
  font-family:'Oswald',sans-serif;
  font-weight:700;
  font-size:.8rem;
  text-transform:uppercase;
  color:var(--yellow);
  letter-spacing:.5px;
}

/* ==========================================================================
   RESPONSIVE — tablet / desktop
   ========================================================================== */
@media (min-width:700px){
  :root{--pad:40px;}

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

  .venue-badge{top:20px;left:20px;}
  .venue-tags{top:74px;left:22px;}

  .partner-grid{max-width:920px;gap:36px 48px;}

  .citizen-pass-img{max-width:460px;}
  .how-it-works{padding-bottom:450px;}

  .hero-content{padding:90px var(--pad) 28px;}

  .map-single{height:480px;}
}

@media (min-width:1000px){
  .hero-content{max-width:900px;margin:0 auto;}

  .what-is p{font-size:1.15rem;}
  .step p{font-size:1.15rem;}
  .megaphone-icon{width:140px;margin:0 0 16px 24px;}

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

@media (prefers-reduced-motion: reduce){
  *{transition:none !important; scroll-behavior:auto !important;}
}

/* Progressive-enhancement reveal: only hides content if JS has added
   the .reveal class AND the browser supports it — content is always
   visible by default (no-JS / JS-error safe). */
.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .6s ease, transform .6s ease;
}
.reveal.reveal-in{
  opacity:1;
  transform:translateY(0);
}
