body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  transition: padding 180ms ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__logo { width: 120px; height: 120px; object-fit: contain; transition: all 180ms ease; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 700; letter-spacing: -0.3px; font-size: 20px; transition: font-size 180ms ease; }
.brand__tag { color: var(--color-muted); font-size: 13px; }

.site-header.is-scrolled .nav-row { padding: 10px 0; }
.site-header.is-scrolled .brand__logo { width: 46px; height: 46px; }
.site-header.is-scrolled .brand__name { font-size: 17px; }
.header-sentinel { display:block; width:100%; height:1px; pointer-events:none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
}
.nav-links a { color: var(--color-text); }
.nav-links a:hover { color: var(--color-primary); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--color-border); padding: 8px 10px; border-radius: var(--radius-sm); }
.mobile-menu { display: none; padding: 12px 16px; border-top: 1px solid var(--color-border); background: #fff; }
.mobile-menu a, .mobile-menu button { display: block; width: 100%; text-align: left; margin-bottom: 10px; }

@media (max-width: 900px){
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }
  .mobile-menu.open { display: block; }
}

.hero {
  padding: 64px 0;
  background: linear-gradient(135deg, #fdf6e6, #f1e8de);
  border-bottom: 1px solid var(--color-border);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.hero__text h1 { margin: 12px 0 10px 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; }
.hero__text .lede { color: var(--color-muted); font-size: 17px; }
.hero__actions { display:flex; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.hero__meta { display:flex; gap:8px; flex-wrap: wrap; }
.hero__card { padding: 20px; background: #fff; border:1px solid var(--color-border); box-shadow: var(--shadow-card); }

.eyebrow { text-transform: uppercase; letter-spacing: 1px; font-size: 12px; color: var(--color-muted); margin: 0; }
.lede { margin: 0; }
.muted.small { font-size: 13px; }

.section { padding: 64px 0; }
.section.alt { background: #ffffff; border-block: 1px solid var(--color-border); }
.section__head { display:flex; justify-content:space-between; align-items:flex-start; gap: 16px; flex-wrap: wrap; }

.split { display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start; }
@media (max-width: 960px){ .split, .hero__grid { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 18px; box-shadow: var(--shadow-card); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: var(--color-accent-soft); color: var(--color-highlight); border-radius: 999px; font-weight: 700; font-size: 12px; letter-spacing: .3px; }

.hero__card .form-row { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }

.pill-row { display:flex; flex-wrap: wrap; gap: 8px; }
.pill { display:inline-flex; align-items:center; gap:6px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--color-border); background:#fff; font-size: 13px; }

.list { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.list li { color: var(--color-text); }

.privacy-card { background: linear-gradient(145deg, #ffffff, #f7f0e6); }

.step { text-align: left; }
.step__icon { width: 34px; height:34px; border-radius: 10px; background: var(--color-accent); color: #fff; display:flex; align-items:center; justify-content:center; font-weight:700; margin-bottom: 8px; }

.faq details { border:1px solid var(--color-border); border-radius: var(--radius-sm); padding: 10px 12px; background: #fff; }
.faq summary { cursor:pointer; font-weight: 600; }
.faq p { margin: 8px 0 0 0; color: var(--color-muted); }

.toast-bar { max-width: var(--maxw); margin: 16px auto; background: #fff; border:1px solid var(--color-border); border-radius: var(--radius-md); padding: 12px 16px; box-shadow: var(--shadow-card); }

.btn { background: var(--color-primary); color: var(--color-primary-contrast); }
.btn:hover { transform: translateY(-1px); transition: transform 120ms ease; }
.btn.ghost { border:1px solid var(--color-border); color: var(--color-text); background: #fff; }

.map-wrapper { border:1px solid var(--color-border); border-radius: var(--radius-sm); padding: 12px; background:#fff; }
.map-container { width: 100%; height: 320px; border-radius: var(--radius-sm); overflow: hidden; border:1px solid var(--color-border); }
.leaflet-container { font-family: inherit; }

.chip.inline { padding: 6px 10px; }

.results .card { padding: 0; }
.event__body { padding: 16px; display:grid; gap:8px; }
.event__meta { display:flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--color-muted); }
.event__tags { display:flex; gap: 6px; flex-wrap: wrap; }
.event__access { font-size: 12px; color: var(--color-highlight); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }

.label { font-size: 13px; color: var(--color-muted); }
.input, .select { border-radius: var(--radius-sm); border-color: var(--color-border); background: #fff; }
.input:focus, .select:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(52,72,90,0.14); }

.cta-card { background: linear-gradient(135deg, #fdf4e0, #ffffff); }

.flex { display:flex; }
.between { justify-content: space-between; }
.center-y { align-items: center; }
.gap-12 { gap: 12px; }
.stack { display:flex; flex-direction: column; }

@media (max-width: 720px){
  .nav-row { padding: 12px 0; }
  .hero { padding: 40px 0; }
  .section { padding: 48px 0; }
}

/* Auth & Dashboard */
.auth-wrap { padding: 48px 0; }
.auth-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.auth-card { padding: 22px; }
.auth-aside { background: linear-gradient(135deg, #fdf4e0, #ffffff); border:1px solid var(--color-border); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-card); }
.auth-logo { width: 140px; margin-bottom: 12px; }
.auth-meta { color: var(--color-muted); font-size: 14px; }
.form-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.form-grid.single { grid-template-columns: 1fr; }
@media (max-width: 900px){ .auth-grid { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } }

.modal .panel { max-height: 90vh; overflow: auto; }
.modal { position: fixed; inset: 0; display: none; align-items: flex-start; justify-content: center; padding: 70px 16px 24px; background: rgba(0,0,0,0.4); z-index: 200; overflow: auto; }
.modal.open { display: flex; }
.modal .panel { background:#fff; border-radius: var(--radius-md); padding: 16px; box-shadow: 0 18px 50px rgba(0,0,0,0.25); width: min(960px, 100%); }

.dash-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.dash-grid-2 { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.dash-card { padding: 18px; }
.dash-list { margin: 0; padding-left: 18px; color: var(--color-muted); display: grid; gap: 6px; }
.dash-section { margin-top: 16px; }
@media (max-width: 1020px){ .dash-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 760px){ .dash-grid, .dash-grid-2 { grid-template-columns: 1fr; } }
