/* WiCyS North Carolina Affiliate — site styles */
:root {
  --purple: #812990;
  --purple-dark: #5E1D6A;
  --plum: #3B1145;
  --night: #21102A;
  --lime: #B1D348;
  --lime-light: #C3E05F;
  --blue: #2F6C8F;
  --green: #38761D;
  --ink: #1F1A24;
  --text: #4A4351;
  --muted: #5B5363;
  --line: #ECE6EE;
  --tint-purple: #F5F0F6;
  --tint-soft: #FBF8FC;
  --tint-lime: #F7FBEE;
  --tint-blue: #F2F7FA;
  --on-dark: #EADCEE;
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Bitter', Georgia, serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #FFFFFF;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--purple); }
a:hover { color: var(--purple-dark); }
h1, h2, h3 { font-family: var(--font-head); margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--purple); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 16px; color: #fff; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px; font-family: var(--font-head);
}
.brand img { height: 64px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.nav a.nav-link {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 12px 4px; border-bottom: 3px solid transparent;
}
.nav a.nav-link:hover,
.nav a.nav-link[aria-current="page"] { color: var(--purple); border-bottom-color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  padding: 13px 24px; border-radius: 999px; font-family: var(--font-head);
  font-weight: 700; font-size: 16px; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; transition: background .15s, border-color .15s;
}
.btn-sm { font-size: 15px; padding: 11px 22px; }
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { background: #6A2177; color: #fff; }
.btn-purple[aria-current="page"] { box-shadow: 0 0 0 3px var(--lime); }
.btn-lime { background: var(--lime); color: var(--night); }
.btn-lime:hover { background: var(--lime-light); color: var(--night); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-outline { color: var(--purple); border-color: var(--purple); }
.btn-outline:hover { background: var(--tint-purple); color: var(--purple-dark); }
.text-link { font-family: var(--font-head); font-weight: 700; font-size: 16px; text-decoration: none; padding: 10px 0; display: inline-block; }
.text-link:hover { text-decoration: underline; }

/* ---------- Common section parts ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 80px 0; }
.bg-soft { background: var(--tint-soft); border-top: 1px solid var(--line); }
.bg-tint { background: var(--tint-purple); }
.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--purple);
}
.on-dark .eyebrow { color: var(--lime); }
.h2 { font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
.h2-sm { font-weight: 800; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
.lead { font-size: 18px; line-height: 1.65; color: var(--text); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 44px; }
.section-head-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 20px; margin-bottom: 44px;
}
.section-head-row .section-head { margin-bottom: 0; max-width: 680px; }
.accent-bar { width: 120px; height: 6px; background: var(--lime); border-radius: 3px; }
.grid { display: grid; gap: 24px; }
.grid-260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-320 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.grid-250 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-210 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }

/* ---------- Hero ---------- */
.hero { background: var(--plum); color: #fff; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 96px; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-weight: 800; font-size: clamp(36px, 5vw, 60px); line-height: 1.08; letter-spacing: -.01em; }
.hero p { font-size: 19px; line-height: 1.6; color: var(--on-dark); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-art { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.logo-stack { position: relative; width: 100%; max-width: 420px; }
.logo-stack::before, .logo-stack::after { content: ""; position: absolute; border-radius: 28px; }
.logo-stack::before { top: -18px; right: -18px; width: 100%; height: 100%; background: var(--lime); }
.logo-stack::after { bottom: -18px; left: -18px; width: 60%; height: 60%; background: #69A1C0; }
.logo-card {
  position: relative; z-index: 1; background: #fff; border-radius: 28px; padding: 48px 36px;
  display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
}
.logo-card img { width: 100%; max-width: 320px; height: auto; }
.logo-card span { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--muted); }

.page-hero { background: var(--plum); color: #fff; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 20px; padding-top: 72px; padding-bottom: 80px; }
.page-hero h1 { font-weight: 800; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.1; max-width: 860px; }
.page-hero p { font-size: 19px; line-height: 1.6; color: var(--on-dark); max-width: 680px; }
.chip-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* ---------- Cards ---------- */
.card { border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.card h3 { font-weight: 700; font-size: 22px; }
.card p { font-size: 16px; line-height: 1.6; color: var(--text); }
.card.purple { background: var(--tint-soft); }
.card.lime { background: var(--tint-lime); }
.card.blue { background: var(--tint-blue); }
.icon-box { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.icon-box.purple { background: var(--purple); color: #fff; }
.icon-box.lime { background: var(--lime); color: var(--night); }
.icon-box.blue { background: var(--blue); color: #fff; }
.step-num { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--purple); }
.card.outline { border: 2px solid var(--line); }
.card.dark { background: var(--plum); color: #fff; border-color: var(--plum); }
.card.dark p { color: var(--on-dark); }
.card.dark .step-num { color: var(--lime); }
.card .grow { flex-grow: 1; }
.card .btn { align-self: flex-start; }

.note {
  display: flex; gap: 14px; align-items: flex-start; background: var(--tint-lime);
  border-radius: 16px; padding: 20px 24px; margin-top: 24px;
}
.note p { font-size: 15px; line-height: 1.6; color: #2E3A24; }
.note svg { flex-shrink: 0; margin-top: 2px; color: var(--green); }

/* ---------- About ---------- */
.about .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.facts { flex: 1 1 300px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fact { background: #fff; border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.fact strong { font-family: var(--font-head); font-weight: 800; font-size: 40px; line-height: 1.1; }
.fact span { font-size: 15px; color: var(--text); }
.fact.wide { grid-column: span 2; }
.fact.wide strong { font-size: 24px; color: var(--ink); }
.about-copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

/* ---------- People ---------- */
.person {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px;
  display: flex; gap: 18px; align-items: center;
}
.avatar {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0; object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 24px;
}
img.avatar { box-shadow: 0 0 0 3px var(--lime); }
.avatar-lg { width: 84px; height: 84px; font-size: 26px; }
.tint-1 { background: var(--purple); color: #fff; }
.tint-2 { background: var(--lime); color: var(--night); }
.tint-3 { background: var(--blue); color: #fff; }
.person-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.person-name { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.person-role { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--purple); }
.person-org { font-size: 14px; line-height: 1.45; color: var(--muted); }

.officer { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.officer-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-bottom: 6px solid var(--lime); }
.officer-placeholder {
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 64px;
}
.officer-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 6px; }
.officer-body .person-name { font-weight: 800; font-size: 20px; }
.officer-body .person-role { font-weight: 700; }
.officer-body .person-org { font-size: 15px; line-height: 1.5; }

/* ---------- Resources ---------- */
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chip { font-family: var(--font-head); font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 999px; background: var(--tint-purple); color: var(--purple-dark); }
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.split-main { flex: 999 1 480px; min-width: 0; }
.list-box { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.list-box-head { padding: 18px 24px; background: var(--tint-purple); font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--plum); }
.list-row { padding: 18px 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.list-row strong { display: block; font-weight: 600; font-size: 16px; }
.list-row span { font-size: 14px; color: var(--muted); }
.list-row svg { flex-shrink: 0; color: var(--purple); }

.cert { border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 14px; background: var(--tint-soft); }
.cert .icon-box { width: 48px; height: 48px; }
.cert strong { font-family: var(--font-head); font-weight: 800; font-size: 22px; }
.cert span { font-size: 15px; line-height: 1.5; color: var(--text); }

.book { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; gap: 22px; align-items: stretch; }
.book-spine { width: 84px; min-height: 120px; border-radius: 8px 14px 14px 8px; flex-shrink: 0; display: flex; align-items: flex-end; padding: 12px 10px; }
.book-info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.book-info strong { font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.3; }
.book-info span { font-size: 15px; color: var(--muted); }
.book-info .text-link { margin-top: auto; font-size: 15px; }

/* ---------- Join ---------- */
.plan { border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.plan.free { border: 2px solid var(--lime); background: var(--tint-lime); }
.plan.national { border: 2px solid var(--line); background: #fff; }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan-head h3 { font-weight: 800; font-size: 24px; }
.badge { font-family: var(--font-head); font-weight: 800; font-size: 14px; padding: 7px 14px; border-radius: 999px; }
.badge.lime { background: var(--lime); color: var(--night); }
.badge.purple { background: var(--tint-purple); color: var(--purple-dark); }
.plan p { font-size: 16px; line-height: 1.6; color: var(--text); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.checks svg { flex-shrink: 0; margin-top: 1px; }
.checks .ok { color: var(--green); }
.checks .ok-purple { color: var(--purple); }
.checks .info { color: var(--muted); }
.checks li.muted { font-size: 15px; color: var(--text); }
.plan .btn { margin-top: auto; align-self: flex-start; }

.step-row { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.step-badge { width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 24px; flex-shrink: 0; }
.step-body { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.step-body h3 { font-weight: 700; font-size: 22px; }
.step-body p { font-size: 16px; line-height: 1.6; color: var(--text); }
.stack { display: flex; flex-direction: column; gap: 20px; }

/* ---------- CTA bands ---------- */
.band-lime { background: var(--lime); }
.band-lime .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-top: 64px; padding-bottom: 64px; }
.band-lime h2 { font-weight: 800; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; color: var(--night); }
.band-lime p { font-size: 18px; line-height: 1.6; color: #2E2433; margin-top: 10px; }
.cta-box { background: var(--plum); color: #fff; border-radius: 28px; padding: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta-box h2 { font-weight: 800; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.2; }
.cta-box p { font-size: 17px; line-height: 1.6; color: var(--on-dark); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #E9DDEC; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 36px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.footer-logo { background: #fff; border-radius: 14px; padding: 12px 16px; align-self: flex-start; }
.footer-logo img { height: 56px; width: auto; }
.footer-brand p { font-size: 15px; line-height: 1.6; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; font-family: var(--font-head); font-size: 15px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h2 { font-weight: 700; color: var(--lime); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.footer-col a { color: #E9DDEC; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid #3E2A47; padding-top: 20px; font-size: 14px; color: #BFAFC5; }

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 56px 0; }
  .hero .wrap { padding-top: 56px; padding-bottom: 72px; gap: 48px; }
  .page-hero .wrap { padding-top: 52px; padding-bottom: 60px; }
  .site-header .wrap { justify-content: center; }
  .nav { justify-content: center; gap: 4px 20px; }
  .brand img { height: 56px; }
  .card, .plan, .step-row { padding: 26px; }
  .cta-box { padding: 32px 26px; }
  .checks.two-col { grid-template-columns: 1fr; }
  .grid-320, .grid-260, .grid-250 { grid-template-columns: 1fr; }
  .book { flex-direction: column; }
  .book-spine { width: 100%; min-height: 56px; border-radius: 10px; }
}

/* ---------- Partner page ---------- */
.topic { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; background: #fff; }
.topic .icon-box { width: 46px; height: 46px; flex-shrink: 0; }
.topic span { font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.3; }
.topics { gap: 16px; }
.speaker { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; gap: 18px; align-items: flex-start; }
.speaker .chip-list { margin-top: 8px; gap: 8px; }
.speaker .chip { font-size: 13px; padding: 6px 12px; }
.nav { gap: 8px 22px; }
.engagements { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.engagement { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; padding: 22px 26px; background: #fff; }
.engagement + .engagement { border-top: 1px solid var(--line); }
.engagement-date { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--purple); min-width: 130px; }
.engagement-body { display: flex; flex-direction: column; gap: 4px; }
.engagement-body strong { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.engagement-body span { font-size: 15px; color: var(--muted); }
.topics { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (max-width: 720px) { .topics { grid-template-columns: 1fr; } }
/* even rows: 10 topics as 2x5, 7 speakers as 4+3 */
@media (min-width: 1000px) {
  .topics { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .topics .topic { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; }
  .speakers-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .speakers-grid .speaker { flex-direction: column; }
}
