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

:root {
  --aqua:   #A6FFFB;
  --teal:   #4FB8B0;
  --ink:    #131313;
  --red:    #DE0000;
  --green:  #1E8F35;
  --yellow: #FFE94A;
  --paper:  #FFFFFF;
}

html { scroll-behavior: smooth; }
body {
  background: var(--aqua) url('assets/pattern.png') repeat;
  background-size: 420px auto;
  color: var(--ink);
  font-family: 'Barlow', sans-serif;
  overflow-x: hidden;
}

/* ── chunky zine components ── */
.card {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: 7px 7px 0 var(--ink);
}

/* ── Top nav ── */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px; height: 62px;
}
.brand-img { height: 40px; width: auto; display: block; }
.navpills { display: flex; gap: 8px; align-items: center; }
.navpill {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 14px; letter-spacing: .08em;
  text-transform: uppercase; padding: 7px 14px;
  border: 2px solid var(--ink); border-radius: 6px;
  cursor: pointer; background: var(--paper); color: var(--ink);
  transition: all .12s; text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
}
.navpill:hover { background: var(--yellow); transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }
.navpill.cta { background: var(--red); color: #fff; }
.navpill.cta:hover { background: var(--red); filter: brightness(1.1); }
.lang-toggle { display: flex; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; box-shadow: 3px 3px 0 var(--ink); }
.langbtn {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 14px; letter-spacing: .08em;
  padding: 7px 12px; cursor: pointer; background: var(--paper);
  color: var(--ink); border: none; min-width: 44px; transition: background .12s;
}
.langbtn + .langbtn { border-left: 2px solid var(--ink); }
.langbtn:hover { background: var(--aqua); }
.langbtn.active { background: var(--green); color: #fff; }
@media (max-width:680px){
  .navpill { display: none; }
  .navpill.cta { display: inline-block; }
}

/* ── Layout ── */
.wrap { max-width: 1020px; margin: 0 auto; padding: 0 26px; }

/* ── Hero ── */
.hero { padding: 130px 0 70px; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 40px; align-items: stretch;
}
.hero-logo { width: 100%; max-width: 460px; height: auto; display: block; margin-bottom: 10px;
  filter: drop-shadow(3px 3px 0 rgba(19,19,19,.18)); }
.hero-sub { font-size: clamp(15px,2vw,18px); line-height: 1.65; color: #222; max-width: 520px; margin-bottom: 26px; font-weight: 500; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 16px; letter-spacing: .08em;
  text-transform: uppercase; padding: 14px 26px; border-radius: 8px;
  text-decoration: none; display: inline-block;
  border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  transition: all .12s;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.btn-primary { background: var(--red); color: #fff; }
.btn-ghost { background: var(--paper); color: var(--ink); }

/* poster card (right side of hero) */
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-card {
  padding: 34px 38px 38px;
  display: flex; flex-direction: column; justify-content: center;
}
.dates-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 4px 0 18px; }
.dates-city {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(19px,2.6vw,26px); color: var(--ink); white-space: nowrap;
}
.dates-img { height: clamp(30px,4.2vw,44px); width: auto; }
@media (max-width:860px){
  .hero-card { padding: 28px 22px 30px; }
  .dates-row { justify-content: center; }
}
.cd-feature {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  gap: 18px; padding: 10px 0; width: 100%;
}
.cd-feature > * { margin-left: auto; margin-right: auto; }
.cdf-mascot {
  display: block; margin: 0 auto; align-self: center;
  height: clamp(160px,22vw,240px); width: auto;
  filter: drop-shadow(5px 5px 0 rgba(19,19,19,.18));
  animation: bob 3.2s ease-in-out infinite;
}
.cdf-chip {
  background: var(--yellow);
  border: 3px solid var(--ink); border-radius: 6px;
  box-shadow: 4px 4px 0 var(--ink);
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(16px,2.2vw,21px); color: var(--ink);
  padding: 10px 18px; transform: rotate(-2deg);
}
.cd-wrap { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.cd-cell {
  background: var(--ink); color: var(--aqua);
  border: 3px solid var(--ink); border-radius: 10px;
  box-shadow: 5px 5px 0 rgba(19,19,19,.3);
  min-width: 74px; padding: 14px 10px 11px; text-align: center;
}
.cd-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: clamp(34px,4.6vw,46px); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cd-unit {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--yellow); margin-top: 5px;
}
@media (max-width:480px){ .cd-wrap { grid-template-columns: repeat(2,1fr); } }
.nl-card {
  background: var(--paper);
  border: 3px solid var(--ink); border-radius: 10px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 22px 24px; width: 100%; max-width: 420px;
  margin-top: 6px;
}
.nl-head {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(19px,2.4vw,24px); color: var(--ink);
}
.nl-sub { font-size: 14px; line-height: 1.55; color: #333; margin: 6px 0 14px; font-weight: 500; }
.nl-form { display: flex; gap: 10px; }
.nl-input {
  flex: 1; min-width: 0;
  font-family: 'Barlow', sans-serif; font-size: 15px;
  padding: 12px 14px; border: 3px solid var(--ink); border-radius: 8px;
  background: var(--paper); color: var(--ink);
}
.nl-input:focus { outline: none; background: var(--aqua); }
.nl-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
  padding: 12px 18px; border-radius: 8px; cursor: pointer;
  background: var(--green); color: #fff;
  border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  transition: all .12s;
}
.nl-btn:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--ink); }
.nl-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.nl-msg { margin-top: 10px; font-size: 14px; font-weight: 600; }
.nl-msg.ok { color: var(--green); }
.nl-msg.err { color: var(--red); }
.nl-hp { position: absolute; left: -9999px; }
@media (max-width:480px){ .nl-form { flex-direction: column; } }

/* ── Sections ── */
section { padding: 70px 0; }
.marker {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(30px,5vw,46px); line-height: 1.05;
  margin-bottom: 20px; color: var(--ink);
}
.marker em { font-style: normal; color: var(--red); }
.marker .g { color: var(--green); }
.kicker {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  background: var(--ink); color: var(--aqua);
  padding: 6px 14px; border-radius: 4px; margin-bottom: 16px;
}
.sect-card { padding: 40px 42px; }
.sect-card p { font-size: 16px; line-height: 1.75; color: #222; margin-bottom: 14px; max-width: 720px; }
.sect-card p strong { font-weight: 700; }
.signoff {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(18px,2.6vw,24px) !important;
  color: var(--red) !important;
  transform: rotate(-1.5deg);
  margin-top: 22px !important;
}

/* stats */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 26px; }
.stats > .stat { min-width: 0; }
@media (max-width:640px){
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .sect-card { padding: 28px 22px; }
  .marker { font-size: clamp(26px,7.5vw,34px); }
}
.stat {
  background: var(--paper); border: 3px solid var(--ink); border-radius: 10px;
  box-shadow: 5px 5px 0 var(--ink); padding: 20px 14px; text-align: center;
}
.stat-n { font-family: 'Permanent Marker', cursive; font-size: 36px; color: var(--red); line-height: 1; margin-bottom: 6px; }
.stat:nth-child(2) .stat-n { color: var(--green); }
.stat-l { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #444; }

/* crowd strip */
.crowd-strip { padding: 0; }
.crowd-strip img {
  display: block; width: 100%; height: 380px; object-fit: cover;
  border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink);
}
@media (max-width:680px){ .crowd-strip img { height: 220px; } }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 26px; }
.pcard {
  background: var(--paper); border: 3px solid var(--ink); border-radius: 10px;
  box-shadow: 6px 6px 0 var(--ink); padding: 26px 24px; transition: all .12s;
}
.pcard:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); }
.pcard h3 { font-family: 'Permanent Marker', cursive; font-size: 20px; margin-bottom: 8px; }
.pcard:nth-child(1) h3 { color: var(--green); }
.pcard:nth-child(2) h3 { color: var(--red); }
.pcard:nth-child(3) h3 { color: var(--green); }
.pcard:nth-child(4) h3 { color: var(--red); }
.pcard p { font-size: 14.5px; line-height: 1.6; color: #333; }
@media (max-width:680px){ .partner-grid { grid-template-columns: 1fr; } }

/* contact */
.contact-card {
  background: var(--yellow);
  border: 3px solid var(--ink); border-radius: 12px;
  box-shadow: 8px 8px 0 var(--ink);
  text-align: center; padding: 54px 30px;
  position: relative; overflow: hidden;
}
.contact-card .mini-mascot {
  position: absolute; right: -8px; bottom: -10px; height: 150px;
  transform: rotate(-4deg); opacity: .95;
}
.contact-card p { max-width: 560px; margin: 0 auto 20px; font-size: 16px; line-height: 1.65; font-weight: 500; }
.email-link {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(20px,3.6vw,32px);
  color: var(--ink); text-decoration: none;
  border-bottom: 4px solid var(--red);
}
.email-link:hover { color: var(--red); }
@media (max-width:680px){ .contact-card .mini-mascot { display: none; } }

/* footer */
footer { background: var(--ink); color: #EDEDED; padding: 44px 0 54px; border-top: 4px solid var(--ink); margin-top: 70px; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: flex-end; }
.foot-logo-img { height: 54px; width: auto; background: var(--paper); border: 3px solid var(--paper); border-radius: 8px; padding: 4px 10px; }
.foot-detail { font-size: 13.5px; color: #BDBDBD; margin-bottom: 3px; }
.foot-detail a { color: var(--yellow); text-decoration: none; }
.foot-detail a:hover { text-decoration: underline; }
.foot-mark { font-family: 'Permanent Marker', cursive; font-size: 18px; color: var(--aqua); text-align: right; line-height: 1.3; }
@media (max-width:680px){ .foot-inner { flex-direction: column; align-items: flex-start; } .foot-mark { text-align: left; } }

/* responsive hero */
@media (max-width:860px){
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-logo { margin: 0 auto 10px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin: 0 auto 26px; }
  .btn-row { justify-content: center; }
}

/* language switching */
.en, .es, .fr { display: none; }
body.lang-en .en { display: block; }
body.lang-es .es { display: block; }
body.lang-fr .fr { display: block; }
span.en, span.es, span.fr, a.en, a.es, a.fr { display: none; }
body.lang-en span.en, body.lang-en a.en { display: inline; }
body.lang-es span.es, body.lang-es a.es { display: inline; }
body.lang-fr span.fr, body.lang-fr a.fr { display: inline; }
img.en, img.es, img.fr { display: none; }
body.lang-en img.en { display: block; }
body.lang-es img.es { display: block; }
body.lang-fr img.fr { display: block; }
