/* WhiteMenBlackWomen.net — redesign (black & white) */
:root {
  --black: #0d0d0d;
  --charcoal: #1a1a1a;
  --white: #ffffff;
  --offwhite: #f5f5f5;
  --line: #e3e3e3;
  --line-dark: rgba(255, 255, 255, 0.14);
  --muted: #6b6b6b;
  --muted-invert: rgba(255, 255, 255, 0.65);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --container: 1140px;
  --font: Merriweather, Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 12px;
}
.on-dark .eyebrow, .hero-copy .eyebrow { color: var(--white); }

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
}

.section-head p { color: var(--muted); font-size: 16px; }
.on-dark .section-head h2 { color: var(--white); }
.on-dark .section-head p { color: var(--muted-invert); }

.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

/* white pill — for use on dark backgrounds */
.btn-primary {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.btn-primary:hover { background: var(--offwhite); transform: translateY(-2px); }

/* black pill — for use on light backgrounds */
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: #000; transform: translateY(-2px); }

/* outline — for use on dark backgrounds */
.btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); transform: translateY(-2px); }

/* outline — for use on light backgrounds */
.btn-outline-dark {
  border-color: var(--black);
  color: var(--black);
}
.btn-outline-dark:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo img { height: 34px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a.nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
}
.nav-links a.nav-link:hover { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  margin: -8px 0;
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.35), rgba(10, 10, 10, 0.5)), url("../img/banner.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero.hero-ww {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.35), rgba(10, 10, 10, 0.5)), url("../img/whitewomenbanner.jpg");
  background-size: cover;
  background-position: center;
}
.hero .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 120px;
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 820px;
}
.hero h1 em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.hero-copy p.lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 0; }

/* ---------- About ---------- */
.about {
  padding: 96px 0;
  background: var(--white);
  text-align: center;
}
.about .wrap { max-width: 760px; }
.about .eyebrow { color: var(--black); }
.about h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--black);
}
.about p { color: var(--muted); margin-bottom: 16px; text-align: left; }
.about .about-closing {
  color: var(--black);
  font-weight: 700;
  font-style: italic;
  text-align: center;
  margin-top: 28px;
  margin-bottom: 20px;
}
.about .btn { margin-top: 4px; }

/* ---------- How it works ---------- */
.steps { padding: 96px 0; background: var(--offwhite); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  position: relative;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 16px;
}
.step-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--black); }
.step-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- Features ---------- */
.features { padding: 96px 0; background: var(--black); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { color: var(--white); font-size: 16px; margin-bottom: 8px; }
.feature-card p { color: var(--muted-invert); font-size: 13.5px; }

/* ---------- Featured members ---------- */
.members { padding: 96px 0; background: var(--white); }
.members-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.member-card { text-align: center; }
.member-card .photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  border: 1px solid var(--line);
}
.member-card .photo a {
  display: block;
  width: 100%;
  height: 100%;
}
.member-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-name { font-size: 16px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.member-location { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.member-bio { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ---------- Stories ---------- */
.stories { padding: 96px 0; background: var(--charcoal); }
.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.story-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  gap: 20px;
}
.story-card .photo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--line-dark);
}
.story-card blockquote {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.7;
  font-style: italic;
}
.story-card blockquote p { margin-bottom: 12px; }
.story-card blockquote p:last-child { margin-bottom: 0; }
.story-card h3 {
  font-style: normal;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 10px;
}

/* ---------- Tips ---------- */
.tips { padding: 96px 0; background: var(--white); }
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tip-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.tip-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.tip-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--black); }
.tip-card p { font-size: 14px; color: var(--muted); }
.contact-cta-wrap { text-align: center; margin-top: 48px; }

/* ---------- Trust badges (Sign Up page) ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-card {
  text-align: center;
  padding: 28px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.trust-card svg { width: 28px; height: 28px; color: var(--black); margin-bottom: 14px; }
.trust-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { padding: 96px 0; background: var(--offwhite); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 17px;
  color: var(--black);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--muted); margin-top: 14px; font-size: 14.5px; line-height: 1.75; }

/* ---------- CTA ---------- */
.cta {
  padding: 90px 0;
  background: var(--black);
  text-align: center;
}
.cta h1, .cta h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 14px;
}
.cta p { color: var(--muted-invert); margin-bottom: 28px; font-size: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--black);
  color: var(--muted-invert);
  padding: 64px 0 28px;
  border-top: 1px solid var(--line-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 24px;
}
.footer-brand .logo img { height: 30px; }
.footer-brand p {
  margin-top: 16px;
  color: var(--muted-invert);
  font-size: 14px;
  line-height: 1.75;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: var(--muted-invert);
  font-size: 14.5px;
  margin-bottom: 12px;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom { text-align: center; font-size: 13px; }
.footer-disclosure { font-size: 12px; color: var(--muted-invert); opacity: 0.8; margin-bottom: 10px; }
.back-to-top {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.back-to-top:hover { background: rgba(255, 255, 255, 0.16); }
.back-to-top svg { width: 18px; height: 18px; }

/* ---------- Page hero (Blog / Contact style pages) ---------- */
.page-hero { padding: 90px 0 70px; background: var(--black); text-align: center; }
.page-hero .eyebrow { color: var(--white); }
.page-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.page-hero p {
  color: var(--muted-invert);
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- Blog list ---------- */
.blog-list { padding: 96px 0; background: var(--white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.blog-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .content { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: 18px; line-height: 1.4; margin-bottom: 10px; color: var(--black); }
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { text-decoration: underline; }
.blog-card p { font-size: 14px; color: var(--muted); margin-bottom: 20px; flex: 1; }
.blog-card .read-more { font-weight: 700; font-size: 14px; color: var(--black); }
.blog-card .read-more:hover { text-decoration: underline; }

/* ---------- Blog article ---------- */
.article { padding: 80px 0 96px; background: var(--white); }
.article .wrap { max-width: 720px; }
.article .featured-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 44px;
  box-shadow: var(--shadow);
}
.article h2 { font-size: 24px; font-weight: 700; margin: 36px 0 14px; color: var(--black); }
.article p { color: var(--muted); margin-bottom: 18px; font-size: 16.5px; line-height: 1.85; }
.article .back-link { display: inline-block; margin-top: 24px; font-weight: 700; color: var(--black); }
.article .back-link:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .members-grid { grid-template-columns: repeat(3, 1fr); }
  .stories-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: var(--black);
    border-bottom: 1px solid var(--line-dark);
    padding: 20px 24px 28px;
  }
  .nav-links.open { display: flex; }
  .hero .wrap { padding-top: 72px; padding-bottom: 72px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .members-grid { grid-template-columns: repeat(2, 1fr); }
  .story-card { flex-direction: column; }
  .blog-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand p { max-width: none; }
  .back-to-top { position: static; margin: 24px auto 0; }
}
