/* ── Design tokens ──────────────────────────────────── */
:root {
  --ink:         #0f172a;
  --muted:       #334155;
  --sea:         #12c2b3;
  --sea-2:       #38bdf8;
  --sand:        #fff6e5;
  --sand-border: rgba(255,207,134,.30);
  --card:        rgba(255,255,255,.82);
  --shadow:      0 20px 60px rgba(2,6,23,.12);
  --shadow-sm:   0 8px 24px rgba(2,6,23,.08);
  --radius:      22px;
  --nav-h:       62px;
}

/* ── Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(18,194,179,.20), transparent 55%),
    radial-gradient(900px 500px at 80% 15%, rgba(56,189,248,.18), transparent 55%),
    radial-gradient(900px 600px at 30% 95%, rgba(255,246,229,.85), transparent 55%),
    linear-gradient(180deg, #ffffff, #fbfdff 45%, #fffaf1 100%);
  overflow-x: hidden;
}

/* ── Typography ─────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: inherit;
  letter-spacing: -0.02em;
}

/* ── Accessibility ──────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: .75rem 1rem;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  z-index: 2000;
  text-decoration: none;
}

/* ════════════════════════════════════════════════════
   NAV
════════════════════════════════════════════════════ */
.navbar {
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  background: rgba(255,255,255,.75) !important;
  border-bottom: 1px solid rgba(15,23,42,.08);
  transition: box-shadow .25s ease;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  min-height: var(--nav-h);
  padding-top: .55rem;
  padding-bottom: .55rem;
}
.navbar.scrolled {
  box-shadow: 0 4px 28px rgba(2,6,23,.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: .5rem;
  width: 100%;
}

.navbar-brand {
  font-weight: 700;
  font-size: .97rem;
  letter-spacing: -.01em;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.navbar-brand:hover { color: var(--ink); }

.brand-name-short { display: none; }

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sea), var(--sea-2));
  display: inline-block;
  flex-shrink: 0;
  margin-right: .45rem;
  box-shadow: 0 4px 14px rgba(18,194,179,.40);
  animation: pulse-dot 3s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,100% { box-shadow: 0 4px 14px rgba(18,194,179,.40); }
  50% { box-shadow: 0 4px 22px rgba(18,194,179,.70); }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

@media (max-width: 575px) {
  .navbar {
    padding-top: .45rem;
    padding-bottom: .45rem;
  }
  .navbar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
  }
  .navbar-brand {
    font-size: .93rem;
  }
  .nav-actions {
    gap: .35rem;
  }
  .nav-actions .btn {
    font-size: .82rem;
    padding: .38rem .78rem;
  }
}

/* ── Buttons ─────────────────────────────────────────── */
.cta {
  border-radius: 999px;
  padding: .78rem 1.4rem;
  font-weight: 700;
  font-size: .95rem;
  background: linear-gradient(135deg, var(--sea) 0%, var(--sea-2) 100%);
  border: 0;
  color: #fff !important;
  box-shadow: 0 12px 32px rgba(18,194,179,.26);
  transition: filter .18s, transform .18s, box-shadow .18s;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
  cursor: pointer;
}
.cta:hover {
  filter: saturate(1.1) brightness(.97);
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(18,194,179,.34);
}
.cta:active { transform: translateY(0); }
.cta.btn-sm { padding: .5rem 1.05rem; font-size: .86rem; }

.ghost {
  border-radius: 999px;
  padding: .78rem 1.3rem;
  font-weight: 700;
  font-size: .95rem;
  border: 1.5px solid rgba(15,23,42,.13);
  background: rgba(255,255,255,.65);
  color: var(--ink);
  transition: background .18s, border-color .18s, transform .18s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.ghost:hover {
  background: rgba(255,255,255,.92);
  border-color: rgba(15,23,42,.22);
  transform: translateY(-1px);
}
.ghost.btn-sm { padding: .42rem 1rem; font-size: .86rem; }

.flyer-btn {
  background: rgba(255,255,255,.70);
  border: 1.5px solid rgba(15,23,42,.12);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 700;
  transition: background .18s, border-color .18s;
}
.flyer-btn:hover {
  background: rgba(255,255,255,.95);
  border-color: rgba(15,23,42,.20);
}

/* ── Cards ───────────────────────────────────────────── */
.glass {
  background: var(--card);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.glass-sand {
  background: rgba(255,246,229,.78);
  border: 1px solid var(--sand-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ── Pills / labels ──────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .44rem .88rem;
  border-radius: 999px;
  background: rgba(18,194,179,.10);
  border: 1px solid rgba(18,194,179,.26);
  color: var(--muted);
  font-weight: 600;
  font-size: .88rem;
}

.meetup-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .38rem .8rem;
  border-radius: 999px;
  background: rgba(18,194,179,.10);
  border: 1px solid rgba(18,194,179,.22);
  color: var(--muted);
  font-weight: 700;
  font-size: .83rem;
}
.meetup-badge.upcoming {
  background: rgba(18,194,179,.14);
  border-color: rgba(18,194,179,.35);
  color: #0a7d74;
}
.meetup-badge.upcoming::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sea);
  animation: pulse-dot 2s ease-in-out infinite;
}

.kicker {
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: .73rem;
  color: var(--sea);
}

.date-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: rgba(255,246,229,.90);
  border: 1px solid rgba(255,180,80,.28);
  color: #7c5e2a;
  font-size: .78rem;
  font-weight: 600;
}

/* ── Hero primitives ─────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + 4.5rem);
  padding-bottom: 4rem;
}
@media (max-width: 991px) { .hero { padding-top: calc(var(--nav-h) + 3rem); } }
@media (max-width: 767px) { .hero { padding-top: calc(var(--nav-h) + 2.5rem); } }
@media (max-width: 575px) { .hero { padding-top: calc(var(--nav-h) + 4rem); } }

.hero .headline {
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
@media (max-width: 576px) {
  .hero .headline { font-size: 2.2rem !important; }
}

.hero-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  background: #e2e8f0;
}

.lead {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.68;
}

/* ── Generic blocks ───────────────────────────────────── */
.icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(18,194,179,.11);
  border: 1px solid rgba(18,194,179,.22);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.section { padding: 3.5rem 0; }

.meetup-card { overflow: hidden; }

.meetup-meta {
  color: var(--muted);
  font-size: .97rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.meetup-meta::before {
  content: attr(data-icon);
  font-size: .9rem;
}

.meetup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: auto;
}

.meetup-flyer {
  width: 100%;
  border-radius: 18px;
  display: block;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 12px 30px rgba(2,6,23,.08);
}
@media (max-width: 991.98px) {
  .meetup-flyer {
    max-width: 520px;
    margin: 0 auto;
  }
}

/* ── Supporters ───────────────────────────────────────── */
.support-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.support-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(2,6,23,.14);
  border-color: rgba(18,194,179,.30);
}
.support-logo-wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.support-logo {
  max-height: 56px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}

/* ── Divider ──────────────────────────────────────────── */
.soft-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15,23,42,.09), transparent);
}

/* ── Footer ───────────────────────────────────────────── */
footer {
  padding: 2.5rem 0 3rem;
  color: rgba(15,23,42,.60);
  font-size: .88rem;
}
footer a {
  color: rgba(15,23,42,.65);
  text-decoration: none;
  transition: color .15s;
}
footer a:hover { color: var(--sea); }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: rgba(15,23,42,.55);
  text-decoration: none;
  font-weight: 500;
  transition: color .15s;
}
.social-link:hover { color: var(--sea); }

/* ── Fade-up ──────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .10s; }
.delay-2 { transition-delay: .18s; }
.delay-3 { transition-delay: .28s; }
.delay-4 { transition-delay: .38s; }