/* Convivium Social — shared tokens and base styles */
:root {
  --night: #1c1240;      /* deep violet, dark sections */
  --pink: #ff4f7b;       /* primary */
  --orange: #ff8a3d;
  --sun: #ffc93c;        /* accent */
  --mint: #3ddbb0;
  --lilac: #b9a6ff;
  --cream: #fff4ea;
  --paper: #ffffff;
  --ink: #1c1240;
  --muted: #625a7a;
  --line: #eee4f5;
  /* legacy names used by the pages */
  --wine: var(--pink);
  --wine-deep: var(--night);
  --gold: var(--orange);
  --gold-soft: var(--sun);
  --display: "Bricolage Grotesque", "DM Sans", -apple-system, sans-serif;
  --serif: var(--display);
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -.025em; margin: 0 0 .5em; }
a { color: var(--pink); }
img { max-width: 100%; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pink);
}

/* Top bar shared by both pages */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(28, 18, 64, .92);
  backdrop-filter: blur(10px);
  color: #fff;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand svg { width: 30px; height: 30px; color: var(--sun); }
.brand span { font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.topbar nav { display: flex; gap: clamp(12px, 2.5vw, 28px); align-items: center; }
.topbar nav a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; opacity: .8; }
.topbar nav a:hover, .topbar nav a.active { opacity: 1; color: var(--sun); }

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  font: 700 15px/1 var(--sans);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn-gold { background: var(--sun); color: var(--night); box-shadow: 0 4px 0 #d99a00; }
.btn-gold:hover { box-shadow: 0 6px 0 #d99a00; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-wine { background: var(--pink); color: #fff; box-shadow: 0 4px 0 #c92a55; }
.btn-wine:hover { box-shadow: 0 6px 0 #c92a55; }

@media (max-width: 640px) {
  .topbar nav .hide-sm { display: none; }
}
