/* ─── BCOE CHICAGO — SHARED STYLES ────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@400;500;600&family=Barlow+Condensed:wght@600;700&display=swap');

:root {
  --midnight: #0D1117;
  --gold:     #C9A84C;
  --gold-lt:  #E8C97A;
  --steel:    #1E2530;
  --slate:    #3A4455;
  --smoke:    #F5F6F8;
  --white:    #FFFFFF;
  --text:     #1A1F2B;
  --muted:    #6B7280;
  --radius:   4px;
  --max:      1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── TOP BAR ──────────────────────────────────────────────────────────────── */
.topbar {
  background: var(--midnight);
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-contact a, .topbar-contact span { color: #E8C97A; font-size: 13px; opacity: .85; }
.topbar-contact a:hover { opacity: 1; }
.topbar-social { display: flex; gap: 16px; }
.topbar-social a { color: var(--gold); font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: color .2s; }
.topbar-social a:hover { color: var(--gold-lt); }

/* ─── NAV ───────────────────────────────────────────────────────────────────── */
nav {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.nav-logo { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 26px; color: var(--midnight); letter-spacing: -.02em; flex-shrink: 0; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; list-style: none; flex: 1; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--slate); letter-spacing: .02em; transition: color .2s; padding-bottom: 3px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-member-name { font-size: 13px; color: var(--muted); }
.nav-account { font-size: 14px; font-weight: 500; color: var(--slate); }
.nav-login { font-size: 14px; font-weight: 500; color: var(--slate); transition: color .2s; }
.nav-login:hover { color: var(--gold); }
.nav-cta { background: var(--gold); color: var(--midnight); font-size: 14px; font-weight: 700; padding: 10px 20px; border-radius: var(--radius); letter-spacing: .03em; transition: background .2s; }
.nav-cta:hover { background: var(--gold-lt); }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--midnight); }

/* ─── PAGE HERO (inner pages) ───────────────────────────────────────────────── */
.page-hero {
  background: var(--midnight);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 58%, var(--gold) 58%, var(--gold) 60%, transparent 60%);
  opacity: .08;
  pointer-events: none;
}
.page-hero .eyebrow { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(32px, 4vw, 52px); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 14px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,.65); max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* ─── CONTENT AREA ──────────────────────────────────────────────────────────── */
.content-wrap { max-width: var(--max); margin: 0 auto; padding: 72px 40px; }
.section-label { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3vw, 42px); font-weight: 900; line-height: 1.1; margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 560px; line-height: 1.75; margin-bottom: 48px; }

/* ─── BUTTONS ───────────────────────────────────────────────────────────────── */
.btn { display: inline-block; font-weight: 700; font-size: 15px; padding: 13px 28px; border-radius: var(--radius); letter-spacing: .04em; transition: background .2s, transform .15s; cursor: pointer; border: none; font-family: 'Inter', sans-serif; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--midnight); }
.btn-gold:hover { background: var(--gold-lt); }
.btn-dark { background: var(--midnight); color: var(--white); }
.btn-dark:hover { background: var(--steel); }
.btn-outline { border: 2px solid var(--midnight); color: var(--midnight); background: transparent; }
.btn-outline:hover { background: rgba(13,17,23,.06); }

/* ─── MEMBERSHIPWORKS EMBED CONTAINER ──────────────────────────────────────── */
.mw-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 40px;
}
.mw-wrap #SFctr {
  min-height: 400px;
}

/* ─── MARQUEE ───────────────────────────────────────────────────────────────── */
.marquee-strip { background: var(--gold); padding: 14px 0; overflow: hidden; white-space: nowrap; }
.marquee-inner { display: inline-block; animation: marquee 30s linear infinite; }
.marquee-inner span { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--midnight); margin-right: 48px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── FOOTER ────────────────────────────────────────────────────────────────── */
footer { background: #070A0F; color: rgba(255,255,255,.55); padding: 72px 40px 40px; }
.footer-grid { max-width: var(--max); margin: 0 auto 56px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.12); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.5); transition: border-color .2s, color .2s; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom { max-width: var(--max); margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.07); display: flex; justify-content: space-between; align-items: center; font-size: 13px; flex-wrap: wrap; gap: 8px; }

/* ─── RESPONSIVE ────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .topbar { padding: 10px 20px; }
  nav { padding: 0 20px; height: 64px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); padding: 20px 24px; border-bottom: 1px solid rgba(0,0,0,.08); box-shadow: 0 8px 24px rgba(0,0,0,.1); gap: 16px; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-actions { gap: 8px; }
  .nav-member-name { display: none !important; }
  .content-wrap, .mw-wrap { padding: 48px 20px; }
  .page-hero { padding: 56px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 48px 20px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-inner { animation: none; }
  * { transition-duration: 0s !important; }
}
