:root {
  --primary: #b94b8a;
  --dark: #3a1730;
  --light: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --shadow: 0 16px 40px rgba(27, 10, 22, 0.25);
}

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

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--light);
  background: radial-gradient(circle at top, #4a1f3b 0%, #2f1226 55%, #140a12 100%);
  min-height: 100vh;
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.site-header {
  padding: 28px 0;
  position: sticky;
  top: 0;
  background: rgba(58, 23, 48, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(185, 75, 138, 0.16);
  z-index: 10;
}

.header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.brand-kicker {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--muted);
}

.brand-title {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  white-space: nowrap;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 18px rgba(16, 6, 12, 0.25);
}

.nav {
  display: flex;
  gap: 18px;
  font-weight: 500;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.nav a:hover {
  background: rgba(185, 75, 138, 0.14);
  color: var(--light);
}

.hero {
  padding: 80px 0 40px;
}

.hero.alt {
  background: linear-gradient(135deg, rgba(185, 75, 138, 0.12), rgba(43, 15, 34, 0));
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  gap: 36px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 16px;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions a,
.hero-actions button {
  border: none;
  cursor: pointer;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-actions .primary {
  background: var(--primary);
  color: var(--light);
  box-shadow: 0 12px 26px rgba(185, 75, 138, 0.3);
}

.hero-actions .ghost {
  background: transparent;
  color: var(--light);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-actions a:hover,
.hero-actions button:hover {
  transform: translateY(-2px);
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(185, 75, 138, 0.18);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin-bottom: 10px;
}

.subtle {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.networking-note {
  margin-top: 10px;
  font-weight: 700;
  color: #f5c0d5;
  letter-spacing: 0.04em;
  padding-left: 14px;
  position: relative;
  font-size: 1.05rem;
}

.networking-note::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #f5c0d5;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.55em;
}

.agenda {
  display: grid;
  gap: 20px;
}

.agenda-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: start;
}

.agenda-item .time {
  font-weight: 600;
  color: var(--primary);
}

.sponsors,
.speakers,
.about {
  padding: 50px 0 80px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.section-head p {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.speakers-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sponsor-grid.gold,
.sponsor-grid.silver {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 18px;
}

.sponsor-card {
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  gap: 10px;
}

.sponsor-card.gold,
.sponsor-card.silver {
  min-height: 150px;
}

.sponsor-card img {
  max-width: 180px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(15, 6, 12, 0.2));
}

.sponsor-card.gold img,
.sponsor-card.silver img {
  max-width: 200px;
  max-height: 90px;
}

.sponsor-tier {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sponsor-tier.silver {
  color: rgba(255, 255, 255, 0.7);
}

.sponsor-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
}

.card,
.speaker-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.speaker-card {
  display: grid;
  gap: 12px;
}

.speaker-photo {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 24px rgba(15, 6, 12, 0.2);
}

.speaker-more {
  display: grid;
  gap: 10px;
}

.speaker-readmore {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--light);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  width: fit-content;
}

.speaker-long {
  display: none;
  color: var(--muted);
}

.speaker-long.open {
  display: block;
}

.speaker-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 6, 12, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 50;
}

.speaker-modal.open {
  display: flex;
}

.speaker-modal-content {
  background: rgba(20, 10, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 24px;
  max-width: 640px;
  width: 100%;
  box-shadow: var(--shadow);
}

.speaker-modal-close {
  background: transparent;
  border: none;
  color: var(--light);
  font-size: 1.6rem;
  cursor: pointer;
  float: right;
}

.speaker-modal-name {
  margin-top: 6px;
  font-size: 1.6rem;
}

.speaker-modal-role {
  color: var(--muted);
  margin-bottom: 12px;
}

.speaker-modal-body p {
  margin-top: 12px;
  color: var(--muted);
}

.avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b94b8a, #f4b8d3);
}

.role {
  color: var(--muted);
  font-size: 0.9rem;
}

.highlight-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.highlight-list li::before {
  content: "•";
  color: var(--primary);
  margin-right: 10px;
}

.site-footer {
  padding: 50px 0 40px;
  border-top: 1px solid rgba(185, 75, 138, 0.14);
  background: rgba(18, 8, 15, 0.82);
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: start;
  justify-items: start;
}

.footer-actions {
  justify-self: end;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.newsletter {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  justify-content: flex-end;
}

.newsletter button {
  border: none;
  cursor: pointer;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.newsletter input {
  flex: 1 1 180px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--light);
  min-width: 220px;
}

.newsletter button {
  background: var(--primary);
  color: var(--light);
  white-space: nowrap;
}

.newsletter button:hover {
  transform: translateY(-2px);
}

.instagram-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--light);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.instagram-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.instagram-icon:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 75, 138, 0.5);
  color: var(--primary);
}

.newsletter-status {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 1.2em;
  text-align: right;
  align-self: flex-end;
}

.newsletter-status.success {
  color: #6ee7b7;
}

.newsletter-status.error {
  color: #fca5a5;
}

.flash-stack {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.flash {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.flash.success {
  border-color: rgba(110, 231, 183, 0.5);
  background: rgba(110, 231, 183, 0.12);
}

.flash.error {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.12);
}

.footer-note {
  text-align: center;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.85rem;
}


@media (max-width: 860px) {
  .header-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .speakers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 50px;
  }

  .agenda-item {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 24px;
  }

  .sponsors {
    padding-top: 30px;
  }

  .hero {
    padding-bottom: 30px;
  }

  .sponsor-grid {
    grid-template-columns: 1fr;
  }

  .speakers-grid {
    grid-template-columns: 1fr;
  }

  .newsletter {
    flex-wrap: wrap;
  }

  .footer-actions {
    align-items: center;
  }

  .newsletter {
    justify-content: center;
  }

  .newsletter-status {
    text-align: center;
    align-self: center;
  }

  .footer-note {
    margin-top: 8px;
  }
}
