:root {
  color-scheme: light;
  --mp-ink: #261a38;
  --mp-muted: #6f6678;
  --mp-blue: #5a2d82;
  --mp-blue-dark: #3b185f;
  --mp-blue-light: #f3edf8;
  --mp-sky: #e7dcf0;
  --mp-gold: #f2c14e;
  --mp-gold-dark: #8a6300;
  --mp-gold-soft: #fff5d8;
  --mp-cream: #fbf9fc;
  --mp-paper: #ffffff;
  --mp-border: #dfd7e5;
  --mp-shadow: 0 18px 50px rgba(59, 24, 95, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--mp-ink);
  background: var(--mp-cream);
  line-height: 1.5;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.portal-shell { min-height: 100vh; }
.portal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(90, 45, 130, 0.14);
  box-shadow: 0 6px 24px rgba(59, 24, 95, 0.06);
}
.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand strong { color: var(--mp-blue-dark); font-size: 1.28rem; letter-spacing: -0.03em; }
.brand span { margin-top: 5px; color: var(--mp-muted); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 22px; }
.primary-nav a { text-decoration: none; font-weight: 650; font-size: .95rem; }
.primary-nav a:hover { color: var(--mp-blue); text-decoration: underline; text-underline-offset: 5px; }
.nav-cta {
  background: var(--mp-blue);
  color: white !important;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(90, 45, 130, .2);
}
.nav-cta:hover { background: var(--mp-blue-dark); }
.menu-button {
  display: none;
  border: 1px solid var(--mp-border);
  background: white;
  color: var(--mp-blue-dark);
  border-radius: 10px;
  padding: 9px 12px;
  font: inherit;
  font-weight: 700;
}

.hero {
  background:
    radial-gradient(circle at 83% 16%, rgba(242, 193, 78, .7), transparent 23%),
    radial-gradient(circle at 15% 92%, rgba(255, 255, 255, .13), transparent 30%),
    linear-gradient(135deg, #32134f 0%, #55277e 54%, #72419a 100%);
  color: white;
}
.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 540px;
  padding: 70px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: center;
  gap: 56px;
}
.eyebrow { margin: 0 0 12px; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(3rem, 8vw, 6.8rem); line-height: .92; letter-spacing: -.065em; text-shadow: 0 3px 20px rgba(40, 15, 64, .22); }
.hero-copy > p:not(.eyebrow) { max-width: 650px; margin: 24px 0 0; font-size: clamp(1.05rem, 2vw, 1.28rem); color: rgba(255,255,255,.94); }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: white;
  color: var(--mp-blue-dark);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(40, 15, 64, .14);
}
.button.secondary { background: rgba(255,255,255,.12); color: white; border: 1px solid rgba(255,255,255,.72); box-shadow: none; }
.button:hover { transform: translateY(-1px); }
.feature-card {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(40, 15, 64, .18);
  backdrop-filter: blur(8px);
}
.feature-card .tag { display: inline-block; padding: 6px 10px; border-radius: 999px; background: var(--mp-gold); color: #3c2a00; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.feature-card h2 { margin: 18px 0 8px; font-size: 2rem; letter-spacing: -.035em; }
.feature-card p { color: rgba(255,255,255,.92); }
.feature-card a { display: inline-flex; margin-top: 14px; font-weight: 800; text-underline-offset: 4px; }

.section { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 68px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
.section-heading h2 { margin: 0; color: var(--mp-blue-dark); font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.045em; }
.section-heading p { margin: 8px 0 0; color: var(--mp-muted); max-width: 650px; }
.section-link { color: var(--mp-blue); font-weight: 800; white-space: nowrap; text-underline-offset: 4px; }

.event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.discovery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--mp-border);
  border-radius: 20px;
  background: var(--mp-paper);
  box-shadow: 0 8px 30px rgba(59,24,95,.07);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(90,45,130,.34); box-shadow: var(--mp-shadow); }
.card-kicker { margin: 0 0 10px; color: var(--mp-blue); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card h3 { margin: 0; color: var(--mp-ink); font-size: 1.5rem; letter-spacing: -.03em; }
.card p { margin: 12px 0 0; color: var(--mp-muted); }
.card strong { margin-top: 28px; color: var(--mp-blue-dark); font-size: .92rem; }

.discovery-band { background: #f6f1f9; border-top: 1px solid #e9dfef; border-bottom: 1px solid #e9dfef; }
.discovery-card { min-height: 260px; }
.discovery-card.events { background: #f1e9f7; border-color: #e2d3ec; }
.discovery-card.explore { background: var(--mp-gold-soft); border-color: #ecd998; }
.discovery-card.local { background: #f8f5fa; border-color: #e7dfeb; }
.discovery-card.events .card-kicker { color: var(--mp-blue); }
.discovery-card.explore .card-kicker { color: var(--mp-gold-dark); }
.discovery-card.local .card-kicker { color: #675875; }

.community-band {
  background:
    radial-gradient(circle at 82% 10%, rgba(242, 193, 78, .3), transparent 25%),
    linear-gradient(120deg, #32134f 0%, #55277e 100%);
  color: white;
}
.community-grid { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 68px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.community-grid h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.05em; }
.community-grid p { color: rgba(255,255,255,.9); font-size: 1.05rem; }
.community-links { display: grid; gap: 12px; }
.community-links a { padding: 18px 20px; border: 1px solid rgba(255,255,255,.4); border-radius: 16px; text-decoration: none; font-weight: 750; background: rgba(255,255,255,.11); }
.community-links a:hover { background: rgba(255,255,255,.2); }

.portal-footer { background: #29103f; color: rgba(255,255,255,.84); border-top: 4px solid var(--mp-gold); }
.footer-inner { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: white; text-underline-offset: 4px; }

@media (max-width: 860px) {
  .menu-button { display: inline-flex; }
  .primary-nav { display: none; position: absolute; top: 68px; right: 16px; left: 16px; padding: 18px; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--mp-border); border-radius: 16px; background: white; box-shadow: var(--mp-shadow); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px 8px; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding: 58px 0; gap: 34px; }
  .event-grid, .discovery-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .header-inner, .hero-inner, .section, .community-grid, .footer-inner { width: min(100% - 24px, 1180px); }
  .hero h1 { font-size: clamp(2.8rem, 17vw, 4.6rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
