:root {
  --bg-1: #1b1330;
  --bg-2: #3a1f3d;
  --bg-3: #5a2f3c;
  --bg-4: #6d3a37;
  --cream: #f7ede6;
  --rose: #e2b7c4;
  --amber: #f0c88a;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Nunito Sans', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-1);
  font-family: var(--sans);
  overflow-x: hidden;
}

a { color: inherit; }

button { font-family: var(--sans); }

@keyframes drift { 0% { transform: translate(0, 0); } 50% { transform: translate(18px, -24px); } 100% { transform: translate(0, 0); } }
@keyframes driftb { 0% { transform: translate(0, 0); } 50% { transform: translate(-22px, 18px); } 100% { transform: translate(0, 0); } }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: .9; } }
@keyframes edPulse { 0%, 100% { opacity: .45; } 50% { opacity: .95; } }
@keyframes edFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- page shell ---------- */

.page {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 42%, var(--bg-3) 74%, var(--bg-4) 100%);
  color: var(--cream);
  position: relative;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}
.bg-orb--a {
  top: 120px; left: 80px; width: 220px; height: 220px;
  background: radial-gradient(circle at 35% 35%, rgba(226, 183, 196, .35), transparent 70%);
  animation: drift 19s ease-in-out infinite;
}
.bg-orb--b {
  top: 640px; right: 70px; width: 280px; height: 280px;
  filter: blur(8px);
  background: radial-gradient(circle at 50% 50%, rgba(240, 200, 138, .22), transparent 70%);
  animation: driftb 24s ease-in-out infinite;
}
.bg-star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff;
  pointer-events: none;
}
.bg-star--1 { top: 70px; right: 210px; width: 5px; height: 5px; animation: twinkle 5s ease-in-out infinite; }
.bg-star--2 { top: 150px; left: 420px; width: 4px; height: 4px; animation: twinkle 7s ease-in-out .8s infinite; }
.bg-star--3 { top: 260px; right: 120px; width: 3px; height: 3px; background: var(--amber); box-shadow: 0 0 8px var(--amber); animation: twinkle 6s ease-in-out 1.4s infinite; }

.divider {
  max-width: 120px;
  height: 1px;
  margin: 52px auto 0;
  background: rgba(226, 183, 196, .25);
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(27, 19, 48, .55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 183, 196, .12);
}
.nav-brand {
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: .06em;
  color: var(--cream);
}
.nav-links {
  display: flex;
  gap: 30px;
  font-size: 13px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.nav-link {
  text-decoration: none;
  position: relative;
  padding-bottom: 5px;
  color: rgba(247, 237, 230, .6);
  border-bottom: 2px solid transparent;
  transition: color .25s, border-color .25s;
}
.nav-link.is-active {
  color: var(--cream);
  border-bottom: 2px solid var(--amber);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 64px 60px 92px;
  scroll-margin-top: 80px;
}

.eyebrow {
  font-size: 14px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 76px;
  line-height: 1.02;
  margin: 0;
  letter-spacing: .01em;
}

.week-banner {
  max-width: 820px;
  margin: 80px auto 0;
  padding: 22px 40px;
  background: linear-gradient(90deg, transparent, rgba(240, 200, 138, .12), transparent);
  border-top: 1px solid rgba(240, 200, 138, .25);
  border-bottom: 1px solid rgba(240, 200, 138, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.week-banner-line { width: 44px; height: 1px; background: rgba(240, 200, 138, .5); }
.week-banner-text {
  font-size: 16px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
}

.featured {
  max-width: 820px;
  margin: 40px auto 0;
  display: flex;
  gap: 44px;
  align-items: center;
  text-align: left;
  justify-content: center;
  flex-wrap: wrap;
}
.featured-photo {
  flex: none;
  width: 300px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(8, 5, 26, .5);
}
.featured-info { flex: 1; min-width: 320px; }
.featured-date {
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--amber);
}
.featured-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 56px;
  line-height: .98;
  margin: 8px 0 16px;
}
.featured-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(247, 237, 230, .82);
  font-weight: 400;
  margin: 0 0 22px;
  max-width: 540px;
}

.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 15px;
  border-radius: 30px;
  border: 1px solid rgba(226, 183, 196, .3);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--rose);
}
.pill--link { text-decoration: none; padding: 6px 14px; }

.btn-primary {
  cursor: pointer;
  padding: 13px 30px;
  border-radius: 40px;
  background: var(--amber);
  color: var(--bg-2);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  border: none;
}

.btn-ghost {
  margin-top: 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 40px;
  background: transparent;
  border: 1px solid rgba(226, 183, 196, .4);
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}
.btn-ghost:disabled { cursor: default; opacity: .5; }

.btn-outline {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  border-radius: 30px;
  background: transparent;
  border: 1px solid rgba(226, 183, 196, .4);
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}

/* ---------- placeholder photo ---------- */

.ph-photo {
  width: 100%;
  height: 100%;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, .03);
  border: 1px dashed rgba(226, 183, 196, .35);
  color: rgba(247, 237, 230, .5);
}
.ph-photo svg { opacity: .8; }
.ph-photo span { font-size: 12px; letter-spacing: .06em; }
.ph-photo--circle { border-radius: 50%; }

.photo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-photo[hidden], .photo-img[hidden] { display: none; }

/* ---------- modal (shared) ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(8, 5, 26, .72);
  backdrop-filter: blur(6px);
  overflow-y: auto;
}
.modal-overlay[hidden] { display: none; }

.modal {
  position: relative;
  width: 640px;
  max-width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 1px solid rgba(226, 183, 196, .28);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6);
  color: var(--cream);
  text-align: left;
}

.modal-close {
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(8, 5, 26, .5);
  border: 1px solid rgba(226, 183, 196, .3);
  color: var(--cream);
  font-size: 18px;
  line-height: 1;
}

.label {
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 10px;
}

.modal-text {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(247, 237, 230, .82);
  font-weight: 400;
  margin: 0 0 24px;
}

.modal-divider { height: 1px; background: rgba(226, 183, 196, .16); margin: 0 0 24px; }

/* ---------- artist modal ---------- */

.modal-photo {
  position: relative;
  width: 100%;
  height: min(46vh, 420px);
  overflow: hidden;
}
.modal-photo-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(58, 31, 61, .92));
  pointer-events: none;
}
#artist-modal .modal-close { position: absolute; top: 16px; right: 16px; }
.modal-photo-caption { position: absolute; left: 32px; bottom: 18px; }
.modal-photo-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.modal-date { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--amber); }
.modal-type-badge {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: 20px;
  background: rgba(8, 5, 26, .4);
  border: 1px solid rgba(226, 183, 196, .4);
  color: var(--cream);
}
.modal-name { font-family: var(--serif); font-size: 52px; line-height: 1; margin-top: 6px; }

.modal-body { padding: 30px 34px 34px; }

.somalab-row { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.modal-instructor-photo {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(226, 183, 196, .3);
}
.somalab-instructor { font-family: var(--serif); font-size: 24px; color: var(--amber); }
.somalab-activity { font-size: 12px; color: rgba(247, 237, 230, .6); margin-top: 2px; }

.modal-footer {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(226, 183, 196, .16);
  font-size: 13px;
  color: rgba(247, 237, 230, .7);
}
.modal-footer-key { color: var(--amber); }

/* ---------- calendar modal ---------- */

.calendar-modal { width: 560px; padding: 30px 34px 34px; }
#calendar-modal .modal-close { position: absolute; top: 16px; right: 16px; }

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.cal-nav-btn {
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(226, 183, 196, .4);
  color: var(--cream);
  font-size: 20px;
  line-height: 1;
}
.cal-nav-btn:disabled { cursor: default; border-color: rgba(226, 183, 196, .12); color: rgba(247, 237, 230, .25); }
.cal-month { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal-grid--weekdays { margin-bottom: 6px; }
.cal-weekday {
  text-align: center;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(247, 237, 230, .45);
  padding-bottom: 4px;
}
.cal-cell {
  min-height: 54px;
  padding: 5px 4px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid transparent;
}
.cal-cell-num { font-size: 13px; font-weight: 400; color: rgba(247, 237, 230, .55); line-height: 1; }
.cal-cell-name { display: none; font-size: 12px; line-height: 1.15; text-align: center; margin-top: 5px; }

.cal-cell--event { background: rgba(240, 200, 138, .1); border-color: rgba(240, 200, 138, .4); }
.cal-cell--event.cal-cell--now { background: rgba(240, 200, 138, .24); border-color: rgba(240, 200, 138, .7); }
.cal-cell--event .cal-cell-num { font-weight: 700; color: var(--amber); }
.cal-cell--event .cal-cell-name { display: block; color: var(--cream); font-weight: 600; }

.cal-cell--tba { background: rgba(255, 255, 255, .02); border: 1px dashed rgba(226, 183, 196, .4); }
.cal-cell--tba .cal-cell-num { font-weight: 600; color: rgba(226, 183, 196, .8); }
.cal-cell--tba .cal-cell-name { display: block; color: rgba(247, 237, 230, .5); font-weight: 500; }

.cal-cell--thu .cal-cell-num { color: rgba(247, 237, 230, .85); font-weight: 600; }

.cal-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 183, 196, .16);
  font-size: 12px;
  color: rgba(247, 237, 230, .7);
}
.cal-legend-item { display: flex; align-items: center; gap: 8px; }
.cal-swatch { width: 12px; height: 12px; border-radius: 4px; }
.cal-swatch--event { background: rgba(240, 200, 138, .5); border: 1px solid rgba(240, 200, 138, .6); }
.cal-swatch--tba { border: 1px dashed rgba(226, 183, 196, .5); }
.cal-legend-note { margin-left: auto; }

/* ---------- schedule ---------- */

.schedule {
  position: relative;
  z-index: 2;
  padding: 90px 60px 90px;
  scroll-margin-top: 80px;
}

.section-eyebrow-wrap { text-align: center; margin-bottom: 40px; }
.section-eyebrow {
  font-size: 16px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 32px;
}
.section-eyebrow--center { text-align: center; }

.timeline {
  width: max-content;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 16px;
  row-gap: 8px;
  font-size: 18px;
  color: rgba(247, 237, 230, .6);
}
.timeline-time { text-align: right; color: var(--amber); font-variant-numeric: tabular-nums; }
.timeline-activity { text-align: left; }

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 820px;
  margin: 0 auto;
}
.schedule-item { display: flex; flex-direction: column; gap: 10px; }
.schedule-date-label {
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rose);
  padding-left: 4px;
}

.schedule-card {
  display: flex;
  gap: 30px;
  align-items: stretch;
  flex-wrap: wrap;
  border: 1px solid rgba(226, 183, 196, .18);
  border-radius: 20px;
  background: rgba(255, 255, 255, .03);
  padding: 26px 30px;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.schedule-card:hover, .schedule-card:focus-visible {
  border-color: rgba(226, 183, 196, .4);
  background: rgba(240, 200, 138, .12);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(8, 5, 26, .4);
}
.schedule-card-photo {
  flex: none;
  width: 150px;
  align-self: stretch;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(8, 5, 26, .45);
}
.schedule-card-body { flex: 1; min-width: 280px; }
.schedule-card-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  margin-bottom: 14px;
}
.schedule-card-type {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.schedule-card-type--live { color: var(--amber); }
.schedule-card-type--curated { color: var(--rose); }
.schedule-card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(247, 237, 230, .82);
  font-weight: 400;
  margin: 0 0 14px;
  max-width: 500px;
}
.schedule-card-somalab { font-size: 13px; letter-spacing: .05em; color: rgba(247, 237, 230, .62); }
.schedule-card-somalab span { color: var(--rose); }
.schedule-card-arrow { flex: none; align-self: flex-start; margin-top: 12px; color: rgba(226, 183, 196, .55); }

.schedule-card--tba { border: 1px dashed rgba(226, 183, 196, .3); background: rgba(255, 255, 255, .02); cursor: default; }
.schedule-card--tba:hover { transform: none; box-shadow: none; background: rgba(255, 255, 255, .02); }
.schedule-card-photo--tba {
  flex: none;
  width: 150px;
  align-self: stretch;
  min-height: 120px;
  border-radius: 16px;
  border: 1px dashed rgba(226, 183, 196, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(226, 183, 196, .5);
  font-family: var(--serif);
  font-size: 54px;
}
.schedule-card-name--tba { color: rgba(247, 237, 230, .7); margin-bottom: 10px; line-height: 1.05; }
.schedule-card-desc--tba { color: rgba(247, 237, 230, .55); margin: 0; }

/* ---------- about ---------- */

.about {
  position: relative;
  z-index: 2;
  padding: 64px 60px;
  background: rgba(255, 255, 255, .04);
  border-top: 1px solid rgba(226, 183, 196, .12);
  border-bottom: 1px solid rgba(226, 183, 196, .12);
  scroll-margin-top: 80px;
}
.about-inner { max-width: 940px; margin: 0 auto; text-align: center; }
.about .section-eyebrow { font-size: 14px; }

.voice-box {
  max-width: 660px;
  margin: 0 auto;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.voice-loading[hidden], .voice-ready[hidden] { display: none; }
.voice-loading { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.voice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
}
.voice-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(8, 5, 26, .5));
}
.voice-loading-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: rgba(247, 237, 230, .7);
  animation: edPulse 1.6s ease-in-out infinite;
}
.voice-quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 29px;
  line-height: 1.5;
  margin: 0;
  color: var(--cream);
  animation: edFade .6s ease;
}
.voice-attribution {
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 6px;
}

.agreements { display: flex; justify-content: center; gap: 48px; margin-top: 52px; flex-wrap: wrap; }
.agreement-item { text-align: center; }
.agreement-title { font-family: var(--serif); font-size: 20px; color: var(--amber); }
.agreement-sub { font-size: 13px; color: rgba(247, 237, 230, .6); margin-top: 4px; }

/* ---------- details ---------- */

.details {
  position: relative;
  z-index: 2;
  padding: 72px 60px;
  scroll-margin-top: 80px;
}
.details .section-eyebrow { margin-bottom: 28px; }

.details-grid {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}
.details-info { flex: 1; min-width: 300px; }
.venue-title { font-family: var(--serif); font-weight: 300; font-size: 40px; margin: 0 0 6px; }
.venue-sub { font-size: 15px; line-height: 1.7; color: rgba(247, 237, 230, .82); margin: 0 0 26px; }

.info-rows { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.info-row { display: flex; gap: 18px; align-items: baseline; }
.info-label {
  flex: none;
  width: 78px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
}
.info-value { font-size: 15px; color: rgba(247, 237, 230, .82); }

.maps-link {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .05em;
  color: var(--amber);
  border-bottom: 1px solid rgba(240, 200, 138, .5);
  padding-bottom: 2px;
}

.calendar-cta {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 15px;
  color: rgba(247, 237, 230, .82);
}

.connect-block { margin-top: 32px; padding-top: 26px; border-top: 1px solid rgba(226, 183, 196, .14); }
.connect-label {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.connect-email { display: block; text-decoration: none; font-size: 16px; color: var(--cream); margin-bottom: 16px; }
.connect-socials { display: flex; gap: 14px; }
.btn-social {
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 30px;
  border: 1px solid rgba(226, 183, 196, .35);
  color: var(--cream);
  font-size: 13px;
  letter-spacing: .05em;
}

.map-embed {
  flex: 1;
  min-width: 320px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(226, 183, 196, .2);
  min-height: 360px;
  background: var(--bg-1);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: invert(0.92) hue-rotate(180deg) brightness(0.9) contrast(0.9);
}

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 26px;
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(247, 237, 230, .4);
}

/* ---------- responsive ---------- */

@media (max-width: 640px) {
  .nav { padding: 16px 22px; }
  .nav-links { gap: 18px; font-size: 11px; }
  .hero { padding: 48px 24px 64px; }
  .hero-title { font-size: 48px; }
  .featured-name { font-size: 40px; }
  .schedule, .details, .about { padding-left: 24px; padding-right: 24px; }
  .schedule-card-photo { width: 100%; height: 160px; }
  .modal-name { font-size: 36px; }
}
