:root {
  --purple: #7C24FF;
  --purple-dark: #5e17d6;
  --purple-tint: #F3ECFF;
  --navy: #1A2340;
  --deep: #110830;
  --text: #404040;
  --muted: #777C8E;
  --line: #E7E8EF;
  --soft: #F8F9FC;
  --pink: #FD7AD5;
  --orange: #FF7820;
  --white: #FFFFFF;
  --shadow: 0 18px 50px rgba(31, 17, 76, .10);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--soft);
  color: var(--text);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 92px;
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(17, 8, 48, .92); backdrop-filter: blur(16px); color: var(--white); }
.topbar__inner { width: min(1240px, calc(100% - 48px)); height: 72px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.brand__logo { width: 132px; height: auto; }
.brand__divider { width: 1px; height: 24px; background: rgba(255,255,255,.25); }
.brand__event { font-size: 14px; letter-spacing: .06em; color: rgba(255,255,255,.75); white-space: nowrap; }
.install-button { border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 9px 16px; background: transparent; color: var(--white); font-size: 13px; font-weight: 700; }
.install-button:hover { background: rgba(255,255,255,.10); }
.hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(120deg, #110830 0%, #241052 52%, #441b76 100%); color: var(--white); min-height: 480px; display: grid; align-items: center; }
.hero__content { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 82px; position: relative; z-index: 2; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(4px); opacity: .65; z-index: -1; }
.hero__glow--one { width: 510px; height: 510px; right: -80px; top: -160px; background: radial-gradient(circle at 30% 30%, rgba(253,122,213,.70), rgba(124,36,255,.20) 55%, transparent 70%); }
.hero__glow--two { width: 440px; height: 440px; left: 38%; bottom: -300px; background: radial-gradient(circle at 50% 30%, rgba(255,120,32,.55), transparent 68%); }
.hero__seal { position: absolute; right: clamp(18px, 9vw, 150px); bottom: -100px; opacity: .17; transform: rotate(-8deg); z-index: 0; }
.hero__seal img { width: clamp(280px, 34vw, 510px); }
.eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--purple); }
.hero .eyebrow { color: #E2B9FF; }
h1, h2, h3 { font-family: Outfit, system-ui, sans-serif; color: var(--navy); letter-spacing: -.04em; }
h1 { max-width: 740px; margin: 0; font-size: clamp(48px, 7vw, 88px); line-height: .96; font-weight: 300; color: var(--white); }
h2 { margin: 0; font-size: clamp(36px, 5vw, 60px); line-height: 1; font-weight: 300; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: rgba(255,255,255,.88); font-size: 15px; }
.hero__meta strong { color: var(--white); }
.meta-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--pink); }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; margin-top: -38px; z-index: 3; }
.quick-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; min-height: 92px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); text-align: left; color: var(--navy); }
.quick-card:hover { border-color: #d9c8ff; transform: translateY(-2px); }
.quick-card__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--purple-tint); color: var(--purple); font-size: 22px; }
.quick-card strong, .quick-card small { display: block; }
.quick-card strong { font-size: 16px; }
.quick-card small { margin-top: 4px; color: var(--muted); font-size: 13px; }
.quick-card__arrow { font-size: 22px; color: var(--purple); }
.app-view { padding: 84px 0 8px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-heading__note { max-width: 330px; color: var(--muted); font-size: 13px; text-align: right; line-height: 1.45; }
.day-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.day-tabs::-webkit-scrollbar { display: none; }
.day-tab { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; background: var(--white); color: var(--muted); font-weight: 700; font-size: 13px; }
.day-tab.is-active { border-color: var(--purple); background: var(--purple); color: var(--white); }
.day-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 18px 0; padding: 18px 20px; border-radius: 16px; background: linear-gradient(100deg, var(--purple-tint), #fff 74%); }
.day-summary strong { color: var(--navy); font-size: 18px; }
.day-summary span { color: var(--muted); font-size: 14px; }
.day-summary a { margin-left: auto; color: var(--purple); font-size: 13px; font-weight: 700; }
.agenda-list { display: grid; gap: 10px; }
.agenda-card { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.agenda-card--reception { grid-template-columns: 92px minmax(0, 1fr) 160px auto; align-items: center; }
.reception-card__photo { width: 160px; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.agenda-card--parallel { align-items: stretch; }
.agenda-card__parallel-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.agenda-side { min-width: 0; }
.agenda-side + .agenda-side { border-left: 1px solid var(--line); padding-left: 18px; }
.agenda-side__label { margin: 0 0 6px; color: var(--purple); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.agenda-card--section { background: var(--navy); color: var(--white); border-color: var(--navy); padding: 17px 20px; }
.agenda-card--section .agenda-card__time, .agenda-card--section .agenda-card__title, .agenda-card--section .agenda-card__meta, .agenda-card--section .agenda-side__label { color: var(--white); }
.agenda-card--section .agenda-card__meta { opacity: .72; }
.agenda-card--section .agenda-side + .agenda-side { border-left-color: rgba(255,255,255,.20); }
.agenda-card__time { color: var(--purple); font-size: 13px; font-weight: 700; line-height: 1.35; }
.agenda-card__title { margin: 0; color: var(--navy); font-family: Outfit, sans-serif; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.agenda-card__meta { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.agenda-card__meta span + span { position: relative; padding-left: 14px; }
.agenda-card__meta span + span::before { content: ''; position: absolute; left: 0; top: .45em; width: 4px; height: 4px; border-radius: 50%; background: var(--pink); }
.agenda-speaker-link { color: var(--purple); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(124,36,255,.35); text-underline-offset: 2px; }
.agenda-speaker-link:hover { color: var(--purple-dark); text-decoration-color: currentColor; }
.agenda-card--section .agenda-speaker-link { color: #E2B9FF; text-decoration-color: rgba(226,185,255,.55); }
.agenda-card__tag { align-self: start; border-radius: 999px; padding: 5px 9px; background: #F1F2F7; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.agenda-card__link { display: inline-flex; margin-top: 10px; color: var(--purple); font-size: 12px; font-weight: 700; }
.agenda-card--section .agenda-card__tag { background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); }
.agenda-empty { padding: 40px 24px; border: 1px dashed #cfc7dc; border-radius: 18px; background: rgba(255,255,255,.7); color: var(--muted); text-align: center; }
.directory-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; }
.search-box { display: flex; align-items: center; gap: 8px; flex: 1 1 300px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--muted); }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--navy); background: transparent; }
.filter-pills { display: flex; gap: 7px; overflow-x: auto; max-width: 100%; padding-bottom: 4px; }
.filter-pill { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: var(--white); color: var(--muted); font-size: 12px; font-weight: 700; }
.filter-pill.is-active { border-color: var(--purple); background: var(--purple-tint); color: var(--purple); }
.guest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.guest-card { min-height: 156px; display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.guest-card__top { display: flex; justify-content: space-between; gap: 12px; }
.guest-card__initials { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(140deg, #E9D8FF, #FFE2F6); color: var(--purple-dark); font-size: 13px; font-weight: 700; }
.guest-card__photo { width: 40px; height: 40px; object-fit: cover; border-radius: 12px; }
.guest-card__name { margin: 0; color: var(--navy); font-family: Outfit, sans-serif; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.guest-card__title { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
.guest-card__company { margin-top: auto; padding-top: 15px; color: var(--navy); font-size: 13px; font-weight: 700; }
.guest-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--purple); font-size: 12px; font-weight: 700; }
.guest-card__link--muted { color: #AAAEBB; font-weight: 500; }
.directory-note { margin: 24px 0 0; color: var(--muted); font-size: 13px; }
.location-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.location-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 10px 28px rgba(31,17,76,.06); }
.location-card__photo { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.location-card__body { padding: 20px; }
.location-card__date { margin: 0 0 8px; color: var(--purple); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.location-card__title { margin: 0; color: var(--navy); font-family: Outfit, sans-serif; font-size: 26px; font-weight: 400; letter-spacing: -.03em; }
.location-card__address { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.location-card__note { margin: 14px 0 0; color: var(--text); font-size: 13px; }
.location-card__actions { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.map-link { display: inline-flex; align-items: center; gap: 7px; color: var(--purple); font-size: 13px; font-weight: 700; }
.location-card__caption { color: var(--muted); font-size: 12px; }
.person-dialog { width: min(420px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 24px; background: var(--white); color: var(--text); box-shadow: 0 24px 80px rgba(17,8,48,.34); }
.person-dialog::backdrop { background: rgba(17,8,48,.62); backdrop-filter: blur(4px); }
.person-dialog__body { padding: 30px; }
.person-dialog__close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--purple-tint); color: var(--purple); font-size: 24px; line-height: 1; }
.person-dialog__profile { display: flex; align-items: center; gap: 16px; padding-right: 28px; }
.person-dialog__profile .eyebrow { margin-bottom: 6px; }
.person-dialog__profile h2 { font-size: 30px; line-height: 1; }
.person-dialog__photo, .person-dialog__initials { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 18px; }
.person-dialog__photo { object-fit: cover; }
.person-dialog__initials { display: grid; place-items: center; background: linear-gradient(140deg, #E9D8FF, #FFE2F6); color: var(--purple-dark); font-size: 22px; font-weight: 700; }
.person-dialog__title { margin: 24px 0 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.person-dialog__company { margin: 7px 0 0; color: var(--navy); font-size: 15px; font-weight: 700; }
.person-dialog__link { display: inline-flex; margin-top: 22px; color: var(--purple); font-size: 14px; font-weight: 700; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 70px 0 34px; color: var(--muted); font-size: 12px; }
.footer__logo { width: 92px; }
.bottom-nav { position: fixed; z-index: 30; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 4px; padding: 7px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(17,8,48,.93); box-shadow: 0 14px 40px rgba(17,8,48,.28); backdrop-filter: blur(16px); }
.bottom-nav__item { min-width: 86px; border: 0; border-radius: 13px; padding: 8px 12px 7px; background: transparent; color: rgba(255,255,255,.62); }
.bottom-nav__item span, .bottom-nav__item small { display: block; }
.bottom-nav__item span { font-size: 18px; line-height: 1; }
.bottom-nav__item small { margin-top: 4px; font-size: 11px; font-weight: 700; }
.bottom-nav__item.is-active { background: var(--purple); color: var(--white); }
[hidden] { display: none !important; }

@media (max-width: 820px) {
  .quick-grid { grid-template-columns: 1fr; margin-top: -28px; }
  .quick-card { min-height: 72px; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading__note { text-align: left; }
  .guest-grid, .location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  body { padding-bottom: 88px; }
  .wrap, .hero__content, .topbar__inner { width: min(100% - 32px, 1160px); }
  .topbar__inner { height: 44px; }
  .brand__logo { width: 82px; }
  .brand__divider, .brand__event { display: none; }
  .install-button { padding: 8px 11px; font-size: 12px; }
  .hero { min-height: 180px; }
  .hero__content { padding: 18px 0 24px; }
  .hero__seal { right: -78px; bottom: -76px; }
  .hero__seal img { width: 270px; }
  .hero .eyebrow { margin-bottom: 8px; font-size: 10px; }
  h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero__meta { gap: 7px 10px; font-size: 13px; }
  .quick-grid { display: none; }
  .app-view { padding-top: 46px; }
  .agenda-card { grid-template-columns: 68px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .agenda-card--reception { grid-template-columns: 68px minmax(0, 1fr); }
  .reception-card__photo { grid-column: 2; width: 100%; max-width: none; aspect-ratio: 16 / 8; }
  .agenda-card__parallel-wrap { grid-template-columns: 1fr; gap: 14px; }
  .agenda-side + .agenda-side { border-top: 1px solid var(--line); border-left: 0; padding: 14px 0 0; }
  .agenda-card--section .agenda-side + .agenda-side { border-top-color: rgba(255,255,255,.20); }
  .agenda-card__tag { grid-column: 2; justify-self: start; }
  .agenda-card__title { font-size: 17px; }
  .guest-grid, .location-grid { grid-template-columns: 1fr; }
  .footer { align-items: start; flex-direction: column; padding-bottom: 18px; }
  .bottom-nav { width: calc(100% - 32px); justify-content: space-around; bottom: 10px; }
  .bottom-nav__item { flex: 1; }
}
