/* MKT1 Events — events.mkt1.co
   Brand values mirror jobs.mkt1.co + mkt1.co. */

:root {
  --yellow: #FFBA10;
  --pink: #EF88FF;
  --blue: #70A0FF;
  --green: #59CD90;
  --red: #F66F5D;
  --cream: #E7E7DA;
  --beige: #F7F7F3;
  --black: #1E1919;
  --dark: #262626;
  --mid: #4A4A4A;
  --light: #8A8A8A;
}

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

body {
  background: var(--black);
  color: var(--cream);
  font-family: 'Schibsted Grotesk', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* === NAV (mkt1.co style — yellow MKT1 wordmark on cream) === */
.nav-wrapper { background: var(--cream); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  max-width: 1280px;
  margin: 0 auto;
  background: var(--cream);
  gap: 32px;
}
.mkt1-logo {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  padding: 6px 14px;
  border-radius: 10px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: opacity 0.15s, transform 0.15s;
}
.mkt1-logo:hover { opacity: 0.85; transform: translateY(-1px); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-link {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0;
  color: var(--black);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--blue); }

/* Hamburger button (hidden on desktop, shown on mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--black);
  border-radius: 2px;
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 100;
  padding: 18px 24px 32px;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--black);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 28px;
  margin-top: 56px;
}
.mobile-menu-link {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 26px;
  text-transform: uppercase;
  color: var(--black);
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.mobile-menu-link:hover { color: var(--blue); }

/* === EVENT HERO === */
.event-hero {
  text-align: center;
  padding: 80px 40px 40px;
  max-width: 880px;
  margin: 0 auto;
}
.event-host {
  font-family: 'Inconsolata', monospace;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.event-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 20px;
}
.event-when {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.event-description {
  font-size: 18px;
  line-height: 1.5;
  color: var(--cream);
  white-space: pre-line;
  max-width: 640px;
  margin: 0 auto;
}

/* === AUTH GATE === */
.auth-gate-inline { max-width: 800px; margin: 32px auto 80px; padding: 0 40px; }
.auth-gate-row { display: flex; gap: 12px; }
.auth-gate-row .form-input { flex: 1; }
.form-input {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 16px;
  color: var(--black);
  background: var(--beige);
  outline: none;
}
.form-input:focus { border-color: var(--pink); box-shadow: 0 0 0 2px rgba(239,136,255,0.2); }
.form-input::placeholder { color: var(--light); }
.auth-gate-btn {
  background: var(--yellow);
  color: var(--black);
  border: 3px solid var(--black);
  border-radius: 40px;
  padding: 14px 28px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 18px;
  cursor: pointer;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.auth-gate-btn:hover { opacity: 0.85; }
.auth-gate-btn:disabled { opacity: 0.6; cursor: default; }
.auth-gate-error { color: var(--red); font-size: 15px; font-weight: 500; margin-top: 12px; min-height: 20px; }
.auth-gate-hint { font-size: 15px; color: var(--cream); margin-top: 16px; text-align: center; }
.auth-gate-link { color: var(--pink); font-weight: 600; text-decoration: underline; }

/* === EVENT EMBED === */
.form-hidden { display: none; }
.event-embed-wrap { max-width: 800px; margin: 0 auto 80px; padding: 0 40px; }
.riverside-form {
  background: var(--beige);
  color: var(--black);
  border: 3px solid var(--black);
  border-radius: 16px;
  padding: 32px;
  min-height: 480px;
  font-family: 'Schibsted Grotesk', sans-serif;
}

.event-success { text-align: center; padding: 32px 16px; color: var(--black); }
.event-success h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.event-success p { font-size: 16px; margin-bottom: 24px; }
.event-join-btn {
  display: inline-block;
  background: var(--pink);
  color: var(--black);
  border: 3px solid var(--black);
  border-radius: 40px;
  padding: 14px 28px;
  font-family: 'Inconsolata', monospace;
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}
.event-join-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* === FOOTER (mkt1.co style) === */
.footer-divider { height: 3px; background: var(--yellow); }

.footer {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 80px 40px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.footer-col { display: flex; flex-direction: column; gap: 24px; }
.footer-col-logo { padding-top: 4px; }
.footer-col-logo .mkt1-logo {
  background: var(--yellow);
  color: var(--black);
  font-size: 28px;
  padding: 6px 14px;
  border-radius: 10px;
  align-self: flex-start;
}
.footer-heading {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #fff;
}
.footer-link {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  transition: opacity 0.15s;
}
.footer-link { transition: color 0.15s; }
.footer-link:hover { color: var(--blue); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-socials { display: flex; gap: 18px; align-items: center; }
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transition: opacity 0.15s;
}
.footer-social:hover { opacity: 0.65; }
.footer-social img { width: 100%; height: 100%; object-fit: contain; display: block; }

.copyright {
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .nav-links { gap: 22px; }
  .nav-link { font-size: 15px; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer-col-logo { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  /* Hide desktop nav, show hamburger */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav { padding: 16px 24px; }

  .footer { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px 24px; }
  .footer-col-logo { grid-column: auto; }
  .footer-bottom { padding: 16px 24px 32px; flex-direction: column; align-items: flex-start; }
  .event-title { font-size: 40px; }
  .event-hero { padding: 56px 24px 32px; }
}

@media (max-width: 600px) {
  .nav { padding: 16px 20px; }
  .mkt1-logo { font-size: 26px; padding: 5px 12px; }
  .event-title { font-size: 32px; }
  .event-description { font-size: 16px; }
  .auth-gate-inline { padding: 0 20px; }
  .auth-gate-row { flex-direction: column; }
  .event-embed-wrap { padding: 0 20px; }
  .riverside-form { padding: 20px; }
  .mobile-menu-link { font-size: 22px; }
  .mobile-menu-links { gap: 24px; margin-top: 48px; }
}
