:root {
  --navy: #1a3160;
  --navy-dark: #142550;
  --gold: #c9a84c;
  --gold-light: rgba(201,168,76,0.15);
  --bg: #eef0f5;
  --white: #ffffff;
  --text: #1a1a1a;
  --muted: #667085;
  --border: #dde1ea;
  --radius: 12px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow: 0 2px 12px rgba(0,0,0,0.09);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ── Hero ── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 52px 24px 44px;
  text-align: center;
}
.hero-eyebrow {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-title {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.hero-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 420px;
  margin: 0 auto 22px;
}
.hero-tag {
  display: inline-block;
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* ── Stats bar ── */
.stats-bar {
  background: var(--white);
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat-num { font-size: 24px; font-weight: 800; color: var(--navy); }
.stat-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; }

/* ── Section ── */
.section { max-width: 960px; margin: 0 auto; padding: 36px 16px 48px; }
.section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

/* ── Seat Grid ── */
.seat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 560px) { .seat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 800px) { .seat-grid { grid-template-columns: repeat(4, 1fr); } }

.loading-msg { grid-column: 1/-1; text-align: center; color: var(--muted); font-size: 14px; padding: 32px; }

/* Filled seat */
a.seat-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 14px;
  border: 1px solid var(--border);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  color: var(--text);
}
a.seat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

/* Available seat */
.seat-card-empty {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 14px;
  border: 1px dashed var(--border);
  opacity: 0.6;
}

.seat-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
  flex-shrink: 0;
  overflow: hidden;
}
.seat-avatar img { width: 44px; height: 44px; object-fit: cover; }

.seat-avatar-empty {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #f2f4f7;
  border: 2px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--muted);
}

.seat-industry { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 3px; }
.seat-name { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 2px; }
.seat-company { font-size: 11px; color: var(--muted); }
.seat-open { font-size: 12px; color: #aab; font-style: italic; }

/* ── Guest CTA ── */
.cta-section {
  background: var(--navy);
  color: var(--white);
  padding: 48px 24px;
  text-align: center;
}
.cta-title { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.cta-sub { font-size: 14px; color: rgba(255,255,255,0.72); margin-bottom: 28px; }
.cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 30px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.15s;
}
.cta-btn:hover { background: #b8963e; }

/* ── Footer ── */
.site-footer {
  text-align: center;
  padding: 24px 16px;
  font-size: 12px;
  color: var(--muted);
}
.site-footer a { color: var(--navy); }

/* ── Member landing page ── */
.member-page { max-width: 480px; margin: 0 auto; padding: 20px 16px 48px; }

.page-nav {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}
.page-nav-brand { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.page-nav-back { color: rgba(255,255,255,0.65); font-size: 13px; text-decoration: none; }
.page-nav-back:hover { color: var(--white); }

/* Hero card */
.member-hero {
  background: var(--navy);
  border-radius: 16px;
  padding: 32px 24px 24px;
  text-align: center;
  color: var(--white);
  margin-bottom: 14px;
}
.member-avatar-wrap { display: flex; justify-content: center; margin-bottom: 16px; }
.member-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover;
}
.member-initials {
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 800; color: var(--gold);
}
.member-name { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.member-title { font-size: 13px; color: rgba(255,255,255,0.75); margin-bottom: 4px; }
.member-company { font-size: 15px; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.member-industry-badge {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,168,76,0.35);
  color: rgba(255,255,255,0.88);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.member-value-prop {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
}

/* Action row */
.action-row {
  display: grid;
  gap: 8px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.action-row.cols-2 { grid-template-columns: repeat(2, 1fr); }
.action-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.action-row.cols-4 { grid-template-columns: repeat(4, 1fr); }

.action-btn {
  display: flex; flex-direction: column; align-items: center;
  gap: 5px; text-decoration: none; color: var(--navy);
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.action-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #edf1f9;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  transition: background 0.15s;
}
.action-btn:hover .action-icon { background: #dce5f5; }

/* White cards */
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.card-label {
  font-size: 10px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.bio-text { font-size: 15px; line-height: 1.75; color: #333; }

/* Video */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Custom links */
.link-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f2f2f2;
  text-decoration: none;
  color: var(--navy);
  font-size: 15px; font-weight: 500;
  transition: color 0.15s;
}
.link-row:last-child { border-bottom: none; padding-bottom: 0; }
.link-row:hover { color: var(--gold); }
.link-icon { font-size: 20px; width: 30px; text-align: center; flex-shrink: 0; }
.link-chevron { margin-left: auto; color: #ccc; font-size: 16px; }

/* Save contact button */
.save-contact-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  background: var(--navy);
  color: var(--white);
  font-size: 15px; font-weight: 700;
  padding: 15px;
  border-radius: var(--radius);
  text-decoration: none;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(26,49,96,0.22);
  transition: background 0.15s;
}
.save-contact-btn:hover { background: var(--navy-dark); }

/* QR code */
.qr-section { text-align: center; }
.qr-wrap { display: inline-block; border: 2px solid var(--border); border-radius: 12px; padding: 14px; }
.qr-wrap img { display: block; width: 160px; height: 160px; }
.qr-caption { font-size: 11px; color: #aab; margin-top: 10px; }

/* Chapter role badge */
.role-badge {
  display: inline-block;
  background: var(--gold-light);
  color: #8a6e1f;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(201,168,76,0.3);
}
