/* ============================================================
   OFF/CAMPUS — BRUTALIST EVENT SITE
   ============================================================ */

:root {
  --ink: #0a0a0a;
  --paper: #f3f0e9;
  --acid: #ff3d9a;     /* punch pink (brand accent) */
  --hot: #7b2ff7;      /* electric violet */
  --blue: #2b39ff;     /* electric blue */
  --line: #0a0a0a;
  --bw: 4px;           /* base border width */
  --shadow: 8px 8px 0 var(--ink);
  --shadow-lg: 14px 14px 0 var(--ink);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--acid); color: var(--ink); }

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

/* ---------- GRAIN OVERLAY ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- TICKER ---------- */
.ticker {
  background: var(--ink); color: var(--acid);
  border-bottom: var(--bw) solid var(--ink);
  overflow: hidden; white-space: nowrap;
  font-family: "Space Mono", monospace; font-weight: 700;
  font-size: 13px; letter-spacing: 1px;
}
.ticker__track { display: inline-flex; animation: scroll-x 28s linear infinite; }
.ticker__track span { padding: 8px 0; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px;
  background: var(--paper);
  border-bottom: var(--bw) solid var(--ink);
}
.nav__logo {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(20px, 3vw, 28px); letter-spacing: -1px;
}
.nav__logo span { color: var(--hot); }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  font-weight: 700; font-size: 14px; letter-spacing: .5px;
  padding: 8px 12px; border: 3px solid transparent;
  transition: all .12s;
}
.nav__links a:hover { background: var(--ink); color: var(--paper); }
.nav__burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav__burger span { width: 28px; height: 3px; background: var(--ink); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block; cursor: pointer;
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  background: var(--acid); color: var(--ink);
  border: var(--bw) solid var(--ink);
  padding: 14px 22px; font-size: 15px;
  box-shadow: var(--shadow);
  transition: transform .1s ease, box-shadow .1s ease;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.btn--nav { padding: 10px 16px; font-size: 13px; box-shadow: 4px 4px 0 var(--ink); }
.btn--big { font-size: clamp(15px, 1.6vw, 19px); padding: 20px 30px; }
.btn--ghost { background: var(--paper); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--sm { padding: 10px 16px; font-size: 13px; box-shadow: 4px 4px 0 var(--ink); }
.btn--submit { background: var(--hot); color: var(--paper); width: 100%; font-size: 18px; padding: 20px; }
.btn--block { display: block; width: 100%; }

/* ---------- HERO ---------- */
.hero {
  padding: clamp(30px, 6vw, 80px) 24px 40px;
  border-bottom: var(--bw) solid var(--ink);
}
.hero__meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-family: "Space Mono", monospace; font-weight: 700;
  font-size: 13px; text-transform: uppercase;
  border-bottom: 3px solid var(--ink); padding-bottom: 14px; margin-bottom: 24px;
}
.hero__meta span:last-child { margin-left: auto; }
.hero__title {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(48px, 13vw, 190px);
  line-height: .86; letter-spacing: -.03em; text-transform: uppercase;
}
.hero__title .line { display: block; }
.line--accent { color: var(--hot); }
.line--outline {
  -webkit-text-stroke: clamp(2px, .5vw, 5px) var(--ink); color: transparent;
}
.hero__bottom {
  display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-end;
  justify-content: space-between; margin-top: 36px;
}
.hero__lead {
  max-width: 460px; font-size: clamp(16px, 1.6vw, 21px);
  font-weight: 500; line-height: 1.35;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 56px; border: var(--bw) solid var(--ink);
}
.stat { padding: 22px; border-right: var(--bw) solid var(--ink); }
.stat:last-child { border-right: none; }
.stat b {
  display: block; font-family: "Archivo Black", sans-serif;
  font-size: clamp(34px, 5vw, 64px); line-height: 1;
}
.stat--word b { font-size: clamp(24px, 3.1vw, 42px); line-height: 1.05; }
.stat span { font-family: "Space Mono", monospace; font-size: 12px; font-weight: 700; text-transform: uppercase; }

/* ---------- SECTION SHELL ---------- */
.section { padding: clamp(50px, 8vw, 110px) 24px; border-bottom: var(--bw) solid var(--ink); }
.section__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 20px; margin-bottom: 44px;
}
.section__title {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(40px, 8vw, 110px); line-height: .85;
  letter-spacing: -.03em; text-transform: uppercase;
}
.section__kicker {
  font-family: "Space Mono", monospace; font-weight: 700;
  font-size: 14px; text-transform: uppercase; text-align: right;
  max-width: 280px; line-height: 1.6;
}

/* ---------- FILTERS ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.chip {
  cursor: pointer; font-family: "Space Grotesk", sans-serif; font-weight: 700;
  text-transform: uppercase; font-size: 14px; letter-spacing: .5px;
  background: var(--paper); border: 3px solid var(--ink);
  padding: 10px 18px; transition: all .1s;
}
.chip:hover { background: var(--ink); color: var(--paper); }
.chip.is-active { background: var(--blue); color: var(--paper); box-shadow: 5px 5px 0 var(--ink); }

/* ---------- EVENT GRID ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  display: flex; flex-direction: column;
  border: var(--bw) solid var(--ink); background: var(--paper);
  box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s;
  min-height: 340px;
}
.card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-lg); }
.card__top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 3px solid var(--ink);
  font-family: "Space Mono", monospace; font-weight: 700; font-size: 13px;
}
.card__tag { background: var(--ink); color: var(--acid); padding: 4px 10px; }
.card[data-type="party"] .card__tag { background: var(--hot); color: var(--paper); }
.card[data-type="meet"] .card__tag { background: var(--blue); color: var(--paper); }
.card[data-type="sport"] .card__tag { background: var(--acid); color: var(--ink); }
.card[data-type="culture"] .card__tag { background: var(--ink); color: var(--acid); }
.card__date { font-family: "Archivo Black", sans-serif; font-size: 30px; line-height: 1; padding: 18px 16px 4px; }
.card__time { font-family: "Space Mono", monospace; font-weight: 700; font-size: 13px; padding: 0 16px; }
.card__title {
  font-family: "Archivo Black", sans-serif; font-size: clamp(22px, 2.4vw, 30px);
  line-height: .95; text-transform: uppercase; padding: 16px; letter-spacing: -.01em;
}
.card__blurb { padding: 0 16px 16px; font-size: 14px; font-weight: 500; line-height: 1.4; flex: 1; }
.card__venue { padding: 0 16px 12px; font-family: "Space Mono", monospace; font-size: 12px; font-weight: 700; }
.card__venue::before { content: "▸ "; }
.card__foot { display: flex; align-items: stretch; border-top: 3px solid var(--ink); margin-top: auto; }
.card__spots { flex: 1; padding: 12px 16px; font-family: "Space Mono", monospace; font-size: 12px; font-weight: 700; display: flex; flex-direction: column; gap: 6px; }
.bar { height: 8px; background: var(--paper); border: 2px solid var(--ink); }
.bar > i { display: block; height: 100%; background: var(--ink); }
.card.is-full .bar > i { background: var(--hot); }
.card__btn {
  border: none; border-left: 3px solid var(--ink); background: var(--acid);
  font-family: "Space Grotesk", sans-serif; font-weight: 700; text-transform: uppercase;
  cursor: pointer; padding: 0 22px; font-size: 14px; transition: background .1s;
}
.card__btn:hover { background: var(--ink); color: var(--acid); }
.card.is-full .card__btn { background: var(--ink); color: var(--paper); cursor: not-allowed; }

/* ---------- BIG MARQUEE ---------- */
.bigmarquee {
  background: var(--acid); border-bottom: var(--bw) solid var(--ink);
  overflow: hidden; white-space: nowrap; padding: 14px 0;
}
.bigmarquee__track { display: inline-flex; gap: 30px; animation: scroll-x 18s linear infinite; }
.bigmarquee__track span {
  font-family: "Archivo Black", sans-serif; font-size: clamp(40px, 7vw, 90px);
  text-transform: uppercase; letter-spacing: -.02em;
}
.bigmarquee__track .hollow { -webkit-text-stroke: 3px var(--ink); color: transparent; }

/* ---------- CALENDAR ---------- */
.section--cal { background: var(--ink); color: var(--paper); }
.section--cal .section__title { color: var(--paper); }
.section--cal .section__kicker { color: var(--acid); }
.cal { border: var(--bw) solid var(--paper); }
.cal__bar {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border-bottom: var(--bw) solid var(--paper);
  background: var(--acid); color: var(--ink);
}
.cal__month { font-family: "Archivo Black", sans-serif; font-size: clamp(22px, 3vw, 36px); text-transform: uppercase; }
.cal__count { margin-left: auto; font-family: "Space Mono", monospace; font-weight: 700; font-size: 13px; }
.cal__nav {
  cursor: pointer; background: var(--ink); color: var(--paper);
  border: 3px solid var(--ink); width: 44px; height: 44px; font-size: 20px; font-weight: 700;
  transition: all .1s;
}
.cal__nav:hover { background: var(--paper); color: var(--ink); }
.cal__list { list-style: none; }
.cal__row {
  display: grid; grid-template-columns: 130px 1fr 200px 130px;
  align-items: center; gap: 16px; padding: 18px 20px;
  border-bottom: 3px solid var(--paper); transition: background .12s; cursor: pointer;
}
.cal__row:last-child { border-bottom: none; }
.cal__row:hover { background: var(--blue); }
.cal__row:hover * { color: var(--paper); }
.cal__day { font-family: "Archivo Black", sans-serif; font-size: clamp(18px, 2vw, 26px); }
.cal__day small { display: block; font-family: "Space Mono", monospace; font-size: 12px; font-weight: 700; color: var(--acid); }
.cal__name { font-family: "Archivo Black", sans-serif; font-size: clamp(16px, 1.8vw, 22px); text-transform: uppercase; }
.cal__name small { display: block; font-family: "Space Mono", monospace; font-size: 11px; font-weight: 400; text-transform: uppercase; opacity: .7; margin-top: 4px; }
.cal__where { font-family: "Space Mono", monospace; font-size: 13px; font-weight: 700; }
.cal__cta {
  justify-self: end; font-family: "Space Grotesk"; font-weight: 700; text-transform: uppercase;
  font-size: 13px; padding: 10px 16px; border: 3px solid var(--paper); background: transparent; color: var(--paper);
}
.cal__row:hover .cal__cta { background: var(--paper); color: var(--ink) !important; }
.cal__empty { padding: 40px 20px; text-align: center; font-family: "Space Mono", monospace; font-weight: 700; }

/* ---------- INFO ---------- */
.info__big {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(26px, 4.5vw, 64px); line-height: 1.02;
  text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 50px;
}
.info__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: var(--bw) solid var(--ink); }
.ibox { padding: 28px 22px; border-right: var(--bw) solid var(--ink); }
.ibox:last-child { border-right: none; }
.ibox__num { font-family: "Space Mono", monospace; font-weight: 700; font-size: 14px; color: var(--hot); }
.ibox h4 { font-family: "Archivo Black", sans-serif; font-size: 26px; margin: 16px 0 10px; }
.ibox p { font-size: 14px; font-weight: 500; line-height: 1.45; }

/* ---------- REGISTER ---------- */
.section--reg { background: var(--blue); color: var(--paper); }
.reg { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.reg__title {
  font-family: "Archivo Black", sans-serif; font-size: clamp(54px, 9vw, 130px);
  line-height: .82; text-transform: uppercase; letter-spacing: -.03em;
}
.reg__note { font-family: "Space Mono", monospace; font-weight: 700; margin-top: 26px; font-size: 14px; }
.reg__form { background: var(--paper); color: var(--ink); border: var(--bw) solid var(--ink); padding: 30px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: "Space Mono", monospace; font-weight: 700; font-size: 13px; margin-bottom: 8px; text-transform: uppercase; }
.field input, .field select {
  width: 100%; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 16px;
  padding: 14px; border: 3px solid var(--ink); background: var(--paper); color: var(--ink);
}
.field input:focus, .field select:focus { outline: none; background: var(--acid); }
.field input.err, .field select.err { background: #ffd9d4; border-color: var(--hot); }
.reg__msg { margin-top: 16px; font-family: "Space Mono", monospace; font-weight: 700; font-size: 14px; }
.reg__msg.ok { color: var(--blue); }
.reg__msg.bad { color: var(--hot); }

/* ---------- FAQ ---------- */
.faq { border: var(--bw) solid var(--ink); }
.qa { border-bottom: 3px solid var(--ink); }
.qa:last-child { border-bottom: none; }
.qa__q {
  width: 100%; cursor: pointer; background: var(--paper); border: none; text-align: left;
  font-family: "Archivo Black", sans-serif; font-size: clamp(18px, 2.4vw, 30px);
  text-transform: uppercase; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: background .1s;
}
.qa__q:hover { background: var(--acid); }
.qa__q span { font-size: 28px; transition: transform .2s; }
.qa.open .qa__q { background: var(--ink); color: var(--acid); }
.qa.open .qa__q span { transform: rotate(45deg); }
.qa__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.qa__a p { padding: 0 24px 22px; font-size: 16px; font-weight: 500; line-height: 1.5; max-width: 700px; }
.qa.open .qa__a { max-height: 240px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 60px 24px 30px; }
.footer__huge {
  font-family: "Archivo Black", sans-serif; font-size: clamp(70px, 20vw, 300px);
  line-height: .82; letter-spacing: -.04em; color: var(--acid);
  -webkit-text-stroke: 2px var(--acid);
}
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin: 50px 0 40px; border-top: 3px solid var(--paper); padding-top: 40px; }
.footer__grid h5 { font-family: "Space Mono", monospace; font-size: 13px; color: var(--acid); margin-bottom: 14px; letter-spacing: 1px; }
.footer__grid a, .footer__grid p { display: block; font-weight: 600; font-size: 16px; margin-bottom: 8px; line-height: 1.4; }
.footer__grid a:hover { color: var(--acid); }
.footer__legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  border-top: 3px solid var(--paper); padding-top: 20px;
  font-family: "Space Mono", monospace; font-weight: 700; font-size: 12px; text-transform: uppercase;
}

/* ---------- TOAST ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 200%);
  background: var(--acid); color: var(--ink); border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow); padding: 18px 26px; z-index: 9000;
  font-family: "Archivo Black", sans-serif; font-size: 16px; text-transform: uppercase;
  max-width: 90vw; transition: transform .35s cubic-bezier(.2,1.4,.4,1);
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- REVEAL ANIM ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .reg { grid-template-columns: 1fr; }
  .info__cards { grid-template-columns: repeat(2, 1fr); }
  .ibox:nth-child(2) { border-right: none; }
  .ibox:nth-child(1), .ibox:nth-child(2) { border-bottom: var(--bw) solid var(--ink); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .cal__row { grid-template-columns: 90px 1fr; }
  .cal__where, .cal__cta { display: none; }
}
@media (max-width: 640px) {
  .nav__links, .btn--nav { display: none; }
  .nav__burger { display: flex; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: var(--bw) solid var(--ink); padding: 10px;
  }
  .grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: var(--bw) solid var(--ink); }
  .info__cards { grid-template-columns: 1fr; }
  .ibox { border-right: none; border-bottom: var(--bw) solid var(--ink); }
  .ibox:last-child { border-bottom: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .section__kicker { text-align: left; }
}
