/* ==========================================================================
   Black L.A. Tech Week — site styles
   Single monospace type system, black/white palette, photography for color.
   ========================================================================== */

:root {
  --bg: #000;
  --fg: #fff;
  --fg-dim: #b3b3b3;
  --line: #3a3a3a;
  --panel: #111;
  --max: 1160px;
  --gap: 24px;
  --font: 'Space Mono', 'JetBrains Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: 1.1rem; }

p { margin: 0 0 16px; color: var(--fg-dim); }

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  border: 1px solid var(--fg);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--fg); color: var(--bg); }
.btn-solid { background: var(--fg); color: var(--bg); }
.btn-solid:hover { background: transparent; color: var(--fg); }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}
.site-header .logo img { height: 46px; width: auto; }
.menu-btn {
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--fg);
}

/* ---- Full-screen nav overlay ---- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: none;
}
.nav-overlay.open { display: block; }
.nav-overlay-inner {
  max-width: 640px;
  height: 100%;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
}
.nav-close {
  align-self: flex-start;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  margin-bottom: 40px;
}
.nav-overlay .logo img { height: 56px; margin-bottom: 48px; }
.nav-links { list-style: none; margin: 0 0 auto; padding: 0; }
.nav-links li { margin-bottom: 28px; }
.nav-links a { font-size: 2rem; text-transform: uppercase; }
.nav-links a:hover { color: var(--fg-dim); }
.nav-social { display: flex; gap: 16px; margin-top: 40px; }
.nav-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--fg); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.nav-social svg { width: 18px; height: 18px; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #111 center/cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.28);
}
.hero-content { position: relative; z-index: 1; padding: 60px 24px; }
.hero .dates {
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  letter-spacing: 0.3em;
  margin-bottom: 10px;
}
.hero .wordmark { max-width: 720px; width: 90vw; margin: 0 auto 32px; }
.hero .btn { background: rgba(0,0,0,0.7); }

/* ---- Sections ---- */
section { padding: 72px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }
.section-dark { background: var(--bg); }
.section-tight { padding: 48px 0; }

.intro-block p { color: var(--fg); max-width: 760px; margin-left: auto; margin-right: auto; }
.intro-block strong { color: var(--fg); }

/* ---- Impact stats ---- */
.impact {
  background:
    radial-gradient(circle, rgba(255,255,255,0.14) 1px, transparent 1.4px) 0 0/14px 14px,
    #1c1c1c;
}
.impact .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.impact-stats { font-size: clamp(1.1rem, 2.6vw, 1.6rem); }
.impact-stats div { margin-bottom: 6px; }
.impact-stats b { font-size: 1.3em; margin-right: 10px; }

.crowd-banner { position: relative; }
.crowd-banner img { width: 100%; height: 340px; object-fit: cover; }
.crowd-banner .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 24px;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--fg);
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
}
.crowd-banner .caption strong { font-style: normal; }

/* ---- Gallery CTA ---- */
.gallery-cta { text-align: center; }
.gallery-cta p { max-width: 560px; margin: 0 auto 28px; }

/* ---- Team grid ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 32px;
}
.team-card { display: flex; gap: 20px; align-items: flex-start; }
.team-card .photo {
  width: 150px; height: 150px; flex: none;
  overflow: hidden;
  background: linear-gradient(160deg, #2b3440, #1a222c);
}
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .role { color: var(--fg-dim); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.team-card h3 { margin: 6px 0 14px; }
.team-card .btn { padding: 8px 16px; font-size: 0.75rem; }

/* ---- Orgs grid ---- */
.orgs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 28px;
  align-items: center;
}
.orgs-grid a { display: flex; align-items: center; justify-content: center; height: 70px; opacity: 0.85; }
.orgs-grid a:hover { opacity: 1; }
.orgs-grid img { max-height: 100%; width: auto; }

/* ---- Survey CTA ---- */
.survey-cta {
  text-align: center;
  background: linear-gradient(115deg, #050014 0%, #3a1a6e 22%, #7b2ff7 48%, #2f5fd6 74%, #08132f 100%);
}
.survey-cta .eyebrow { display: block; margin-bottom: 18px; }

/* ---- Music embed ---- */
.music-embed { background: var(--panel); text-align: center; }
.music-embed .wrap { max-width: 640px; margin: 0 auto; }
.music-embed iframe { width: 100%; margin: 0 auto; border-radius: 4px; border: none; display: block; }

/* ---- Partners ---- */
.partners { text-align: center; background: #fff; color: #171717; }
.partners h2 { color: #111; }
.partners p { max-width: 640px; margin-left: auto; margin-right: auto; color: #444; }
.partners .orgs-grid { margin-top: 40px; max-width: 720px; margin-left: auto; margin-right: auto; }
.partners .orgs-grid a { opacity: 1; }
.partners .orgs-grid a:hover { opacity: 0.75; }

/* ---- Newsletter ---- */
.newsletter { background: var(--panel); text-align: center; }
.newsletter form {
  max-width: 460px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  text-align: left;
}
.newsletter label { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-dim); }
.newsletter input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--fg);
  font-family: var(--font);
  padding: 12px 14px;
  font-size: 0.9rem;
}
.newsletter input:focus { outline: none; border-color: var(--fg); }
.form-note { font-size: 0.75rem; color: var(--fg-dim); margin-top: 12px; }
.form-success { display: none; }
.form-success.show { display: block; }

/* ---- Footer ---- */
.site-footer { padding: 40px 0; }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.site-footer p { margin: 0; font-size: 0.8rem; }
.footer-social { display: flex; gap: 14px; }
.footer-social svg { width: 20px; height: 20px; }

/* ---- Event pages ---- */
.event-hero {
  text-align: center;
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
}
.event-hero .meta { color: var(--fg-dim); margin-bottom: 28px; }
.status-badge {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 16px 28px;
  margin-bottom: 8px;
}
.status-badge strong { display: block; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.event-photo img { width: 100%; max-height: 520px; object-fit: cover; }
.event-details { display: grid; gap: 8px; max-width: 620px; margin: 0 auto; text-align: center; }
.share-row { display: flex; gap: 14px; justify-content: center; margin-top: 32px; }

.events-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.event-card {
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.event-card img { height: 200px; object-fit: cover; width: 100%; }
.event-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.event-card .meta { color: var(--fg-dim); font-size: 0.85rem; margin-bottom: 14px; }
.event-card .btn { margin-top: auto; align-self: flex-start; }

/* ---- Responsive ---- */
@media (max-width: 820px) {
  .impact .wrap { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; }
  .team-card .photo { width: 100%; height: 240px; }
}

@media (max-width: 520px) {
  .site-header .wrap { height: 76px; }
  .site-header .logo img { height: 36px; }
  .hero { min-height: 520px; }
}
