:root {
  --c-red: #dc2626;
  --c-mustard: #d4a017;
  --c-ink: #0a0a0a;
  --c-cream: #fef3c7;
  --f-display: 'Oswald', sans-serif;
  --f-body: 'Inter', sans-serif;
  --f-mono: 'Space Mono', monospace;
  --f-accent: 'Caveat', cursive;
}

body {
  margin: 0;
  background-color: var(--c-cream);
  color: var(--c-ink);
  font-family: var(--f-body);
  line-height: 1.6;
  overflow-x: hidden;
}

.hidden { display: none !important; }

/* Helpers */
.bg-ink { background-color: var(--c-ink); }
.bg-mustard { background-color: var(--c-mustard); border-bottom-color: var(--c-ink) !important; }
.bg-cream { background-color: var(--c-cream); }
.bg-red { background-color: var(--c-red); }

.text-cream { color: var(--c-cream) !important; }
.shadow-red { text-shadow: 4px 4px 0 var(--c-red) !important; }
.shadow-ink { text-shadow: 4px 4px 0 var(--c-ink) !important; }
.center-text { text-align: center; }
.border-none { border-bottom: none !important; }

/* Halftone overlay */
.halftone-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 9999;
  background-image: radial-gradient(var(--c-ink) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.08;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 80px 0;
  border-bottom: 4px solid var(--c-ink);
}

/* Header */
.site-header {
  background: var(--c-ink);
  color: var(--c-cream);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 4px solid var(--c-red);
}
.header-logo {
  font-family: var(--f-display);
  font-size: 1.5rem;
  text-transform: uppercase;
}
.header-meta {
  font-family: var(--f-mono);
  font-size: 0.875rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 8px solid var(--c-ink);
  background-image: url('https://offertabs.s3.amazonaws.com/offer/epqzvz/site/media/69f12b0b3c5fb2.08594755.jpg');
  background-size: cover;
  background-position: center;
}
.hero-content {
  background: var(--c-cream);
  padding: 40px;
  margin: 24px;
  border: 4px solid var(--c-ink);
  box-shadow: 12px 12px 0 var(--c-red);
  max-width: 700px;
}
.hero-title-wrapper {
  position: relative;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(5rem, 12vw, 9rem);
  text-transform: uppercase;
  line-height: 0.85;
  margin: 0;
  color: var(--c-ink);
  letter-spacing: -0.02em;
}
.hero-accent {
  font-family: var(--f-accent);
  color: var(--c-red);
  font-size: clamp(3rem, 7vw, 5rem);
  position: absolute;
  top: -45px;
  left: 20px;
  transform: rotate(-8deg);
  text-shadow: 2px 2px 0 var(--c-cream), 4px 4px 0 var(--c-ink);
  z-index: 2;
}
.hero-subtitle {
  font-family: var(--f-mono);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 24px;
}
.hero-meta {
  font-size: 1.125rem;
  font-weight: 500;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.meta-tag {
  display: inline-block;
  padding: 6px 12px;
  font-family: var(--f-mono);
  font-size: 0.875rem;
  font-weight: 700;
}
.meta-tag.solid { background: var(--c-ink); color: var(--c-cream); }
.meta-tag.outline { border: 2px solid var(--c-ink); }

/* Typography */
.section-title {
  font-family: var(--f-display);
  font-size: 4rem;
  text-transform: uppercase;
  margin: 0 0 48px 0;
  line-height: 1;
  color: var(--c-ink);
  text-shadow: 4px 4px 0 var(--c-mustard);
}

/* Speakers */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}
.speaker-card {
  border: 4px solid var(--c-ink);
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 8px 8px 0 var(--c-mustard);
  display: flex;
  flex-direction: column;
}
.speaker-card:nth-child(even) { box-shadow: 8px 8px 0 var(--c-red); }
.speaker-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 var(--c-ink);
}
.speaker-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-bottom: 4px solid var(--c-ink);
  filter: contrast(1.2) grayscale(0.2);
  mix-blend-mode: multiply;
}
.speaker-info {
  padding: 16px;
  background: var(--c-cream);
  flex-grow: 1;
}
.speaker-name {
  font-family: var(--f-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 0 0 4px 0;
  line-height: 1.1;
}
.speaker-title {
  font-family: var(--f-mono);
  font-size: 0.875rem;
  color: var(--c-red);
  margin: 0;
  font-weight: 700;
}

/* Schedule */
.schedule-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.day-block {
  border: 4px solid var(--c-ink);
  background: #fff;
}
.day-header {
  background: var(--c-ink);
  color: var(--c-cream);
  padding: 16px 24px;
  font-family: var(--f-display);
  font-size: 2rem;
  text-transform: uppercase;
  border-bottom: 4px solid var(--c-ink);
}
.session {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-top: 4px solid var(--c-ink);
}
.session:first-of-type { border-top: none; }
.session-time {
  padding: 24px;
  font-family: var(--f-mono);
  font-weight: 700;
  border-right: 4px solid var(--c-ink);
  background: var(--c-cream);
  display: flex;
  align-items: center;
}
.session-details {
  padding: 24px;
  background: #fff;
}
.session.type-keynote .session-details { background: var(--c-mustard); }
.session.type-workshop .session-details { background: rgba(220, 38, 38, 0.1); }
.session-title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  margin: 0 0 8px 0;
  text-transform: uppercase;
}
.session-meta {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 0.875rem;
  color: var(--c-ink);
  opacity: 0.8;
}

/* Venue */
.venue-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.venue-map {
  border: 4px solid var(--c-ink);
  box-shadow: 12px 12px 0 var(--c-red);
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
}
.venue-subtitle {
  font-family: var(--f-display);
  font-size: 2.5rem;
  margin: 0 0 8px 0;
  text-transform: uppercase;
}
.venue-address {
  font-family: var(--f-mono);
  font-weight: 700;
  margin: 0 0 24px 0;
  font-size: 1.125rem;
}
.venue-desc {
  font-size: 1.125rem;
  margin-bottom: 32px;
}
.neighborhood-guide {
  border-top: 4px solid var(--c-ink);
  padding-top: 24px;
}
.neighborhood-guide h4 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 0 0 16px 0;
}
.neighborhood-guide ul {
  font-family: var(--f-mono);
  font-size: 0.875rem;
  padding-left: 20px;
  line-height: 2;
  margin: 0;
}

/* Tickets & Form */
.tickets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.ticket-card {
  border: 4px solid var(--c-ink);
  padding: 40px 32px;
  text-align: center;
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
}
.ticket-card.popular {
  background: var(--c-mustard);
  transform: scale(1.05);
  box-shadow: 12px 12px 0 var(--c-ink);
  z-index: 2;
}
.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-ink);
  color: var(--c-cream);
  font-family: var(--f-mono);
  font-weight: 700;
  padding: 4px 16px;
  border: 2px solid var(--c-ink);
  white-space: nowrap;
}
.ticket-name {
  font-family: var(--f-display);
  font-size: 2rem;
  margin: 0 0 16px 0;
  text-transform: uppercase;
}
.ticket-price {
  font-family: var(--f-mono);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--c-red);
  margin: 0 0 24px 0;
  line-height: 1;
}
.ticket-card.popular .ticket-price { color: var(--c-ink); }
.ticket-desc {
  font-size: 0.875rem;
  margin: 0;
  opacity: 0.9;
}

/* Form Container */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border: 4px solid var(--c-ink);
  padding: 48px;
  box-shadow: 16px 16px 0 var(--c-mustard);
}
.form-title {
  font-family: var(--f-display);
  font-size: 2.5rem;
  text-transform: uppercase;
  margin: 0 0 32px 0;
  text-align: center;
}
.form-group {
  margin-bottom: 24px;
}
.form-label {
  display: block;
  font-family: var(--f-mono);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 0.875rem;
}
.form-control {
  width: 100%;
  padding: 16px;
  font-family: var(--f-body);
  font-size: 1rem;
  border: 2px solid var(--c-ink);
  background: var(--c-cream);
  border-radius: 0;
  box-sizing: border-box;
  transition: all 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--c-red);
  background: #fff;
  box-shadow: 4px 4px 0 var(--c-ink);
}
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  cursor: pointer;
}
.btn-submit {
  width: 100%;
  padding: 20px;
  background: var(--c-red);
  color: #fff;
  font-family: var(--f-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  border: 4px solid var(--c-ink);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 6px 6px 0 var(--c-ink);
  margin-top: 16px;
}
.btn-submit:hover:not(:disabled) {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--c-ink);
}
.btn-submit:disabled {
  background: #999;
  cursor: not-allowed;
  transform: none;
  box-shadow: 6px 6px 0 var(--c-ink);
}

/* Sponsors */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.sponsor-box {
  border: 2px solid var(--c-ink);
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-family: var(--f-mono);
  color: #999;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.sponsor-box:hover {
  background: var(--c-ink);
  color: var(--c-cream);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--c-mustard);
}

/* Sticky Button */
.sticky-ticket-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--c-mustard);
  color: var(--c-ink);
  font-family: var(--f-display);
  font-size: 1.5rem;
  padding: 16px 32px;
  text-transform: uppercase;
  text-decoration: none;
  border: 4px solid var(--c-ink);
  box-shadow: 8px 8px 0 var(--c-red);
  z-index: 100;
  transition: all 0.2s;
}
.sticky-ticket-btn:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 var(--c-red);
}

/* Messaging */
.success-msg {
  text-align: center;
}
.success-msg h2 {
  font-family: var(--f-display);
  font-size: 3.5rem;
  color: var(--c-red);
  margin: 0 0 16px 0;
  text-transform: uppercase;
  line-height: 1;
}
.success-footer {
  font-family: var(--f-mono);
  margin-top: 32px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--c-red);
}
.error-msg {
  background: var(--c-red);
  color: #fff;
  padding: 16px;
  margin-bottom: 24px;
  font-family: var(--f-mono);
  border: 2px solid var(--c-ink);
  font-size: 0.875rem;
}

/* Footer */
.site-footer {
  background: var(--c-ink);
  color: var(--c-cream);
  padding: 60px 24px 40px;
}
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.copyright {
  font-family: var(--f-mono);
  margin: 0 0 40px 0;
  opacity: 0.7;
}
#wbx-powered-by-slot {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Responsive */
@media (max-width: 900px) {
  .venue-wrapper { grid-template-columns: 1fr; }
  .tickets-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 64px; }
  .ticket-card.popular { transform: none; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-title { font-size: 3rem; margin-bottom: 32px; }
  .hero-content { margin: 16px; padding: 24px; border-width: 2px; }
  .hero-accent { left: 5%; top: -30px; font-size: 2.5rem; }
  .session { grid-template-columns: 1fr; }
  .session-time { border-right: none; border-bottom: 4px solid var(--c-ink); padding: 16px 24px; }
  .form-container { padding: 24px; border-width: 2px; box-shadow: 8px 8px 0 var(--c-mustard); }
  .sticky-ticket-btn { bottom: 16px; right: 16px; padding: 12px 24px; font-size: 1.25rem; }
}
