/* =========================================================
   WWLN — Weaving Women's Leadership Network
   Shared stylesheet
   ========================================================= */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Work+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

/* ---- Design tokens ---- */
:root{
  --purple-deep:   #33094f;
  --purple:        #5b1391;
  --purple-mid:    #8046b8;
  --orange:        #f05a25;
  --orange-dark:   #d3491a;
  --orange-tint:   #fbeee7;
  --lavender-tint: #f4eef9;
  --ivory:         #fbf9f6;
  --white:         #ffffff;
  --ink:           #241a33;
  --ink-soft:      #3d3350;
  --line:          #e6dcef;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --max: 1120px;
  --max-header: 1800px;
}

/* ---- Reset ---- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ font-family: var(--font-display); margin: 0 0 .5em; font-weight: 600; color: var(--purple-deep); }
p{ margin: 0 0 1em; }
button{ font-family: inherit; }

:focus-visible{
  outline: 2.5px solid var(--orange);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

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

.nav-wrap{
  max-width: var(--max-header);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 14px;
}

.section{ padding: 88px 0; }
.section-alt{ background: var(--lavender-tint); }
.section-tight{ padding: 56px 0; }

.section-head{
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head p{ color: var(--ink-soft); font-size: 17px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Buttons ---- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  cursor: pointer;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{ background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover{ background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-secondary{ background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-secondary:hover{ background: var(--orange); color: var(--white); }
.btn-outline{ background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-outline:hover{ background: var(--purple); color: #fff; }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,249,246,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img{ width: 44px; height: 44px; border-radius: 50%; }
.brand-text{ display: flex; flex-direction: column; line-height: 1.2; max-width: 230px; }
.brand-text strong{
  font-family: var(--font-display);
  font-size: 15.5px;
  line-height: 1.25;
  color: var(--purple-deep);
  font-weight: 700;
}
.brand-text span{
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--ink-soft);
  margin-top: 3px;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a{
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover{ background: var(--lavender-tint); color: var(--purple); }
.nav-links a.active{ background: var(--purple); color: #fff; }

.nav-toggle-label{
  display: none;
  cursor: pointer;
  width: 26px;
  height: 20px;
  position: relative;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after{
  content: '';
  position: absolute;
  height: 2.5px;
  width: 100%;
  background: var(--purple-deep);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.nav-toggle-label span{ top: 9px; }
.nav-toggle-label span::before{ top: -8px; }
.nav-toggle-label span::after{ top: 8px; }
#nav-toggle{ display: none; }

@media (max-width: 1010px){
  .nav-toggle-label{ display: block; }
  .nav-links{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--ivory);
    border-bottom: 0 solid var(--line);
    padding: 0 24px;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease, padding .25s ease, border-bottom-width .25s ease;
  }
  .nav-links a{ padding: 12px 14px; }
  #nav-toggle:checked ~ .nav-links{ max-height: 420px; padding: 10px 24px 18px; border-bottom-width: 1px; }
  #nav-toggle:checked ~ .nav-toggle-label span{ background: transparent; }
  #nav-toggle:checked ~ .nav-toggle-label span::before{ top: 0; transform: rotate(45deg); }
  #nav-toggle:checked ~ .nav-toggle-label span::after{ top: 0; transform: rotate(-45deg); }
}

/* =========================================================
   Hero (Home page)
   ========================================================= */
.hero{
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--purple-deep), var(--purple) 65%, var(--purple-mid));
  color: #fff;
  padding: 96px 0 110px;
}
.hero .waves{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .35;
}
.hero-inner{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.hero-logo{
  display: flex;
  justify-content: center;
  position: relative;
}
.hero-logo::before{
  content: '';
  position: absolute;
  width: min(360px, 88%);
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.32) 0%, rgba(255,255,255,.12) 45%, rgba(255,255,255,0) 72%);
  filter: blur(6px);
  z-index: 0;
}
.hero-logo img{
  position: relative;
  z-index: 1;
  width: min(340px, 84%);
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.4)) drop-shadow(0 0 0 6px rgba(255,255,255,.06));
}
.hero h1{
  color: #fff;
  font-size: clamp(32px, 4.8vw, 52px);
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero p.lead{
  font-size: 18px;
  color: rgba(255,255,255,.86);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 860px){
  .hero-inner{ grid-template-columns: 1fr; text-align: center; }
  .hero p.lead{ margin-left: auto; margin-right: auto; }
  .hero-actions{ justify-content: center; }
  .hero-logo{ order: -1; }
}

/* ---- Facts / stats strip ---- */
.facts{
  position: relative;
  z-index: 2;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.22);
  padding-top: 32px;
  gap: 24px;
}
.fact strong{
  display: block;
  font-family: var(--font-mono);
  font-size: 30px;
  color: #fff;
}
.fact span{
  font-size: 13.5px;
  color: rgba(255,255,255,.75);
}
@media (max-width: 760px){
  .facts{ grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Page header (interior pages)
   ========================================================= */
.page-header{
  background: linear-gradient(160deg, var(--purple-deep), var(--purple) 70%);
  color: #fff;
  padding: 68px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-header .waves{ position: absolute; inset: 0; opacity: .3; }
.page-header .container{ position: relative; z-index: 2; }
.page-header .eyebrow{ color: #f3c9ae; }
.page-header h1{ color: #fff; font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.page-header p{ color: rgba(255,255,255,.85); max-width: 620px; font-size: 17px; margin: 0; }

/* =========================================================
   Card grid — generic
   ========================================================= */
.card-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px;
}
.card .num{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange-dark);
  margin-bottom: 10px;
  display: block;
}
.card h3{ font-size: 18.5px; margin-bottom: 8px; }
.card p{ color: var(--ink-soft); font-size: 15px; margin: 0; }

/* Focus-area cards: compact, centered, title-only */
.card.focus-card{
  text-align: center;
  padding: 30px 20px;
}
.card.focus-card .num{ margin-bottom: 8px; }
.card.focus-card h3{ font-size: 16.5px; margin-bottom: 0; color: var(--purple-deep); }

@media (max-width: 900px){ .card-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .card-grid{ grid-template-columns: 1fr; } }

/* =========================================================
   The Weave — six components timeline
   ========================================================= */
.weave{
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding-left: 40px;
}
.weave::before{
  content: '';
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--purple-mid) 0 6px,
    transparent 6px 12px
  );
}
.weave-item{
  position: relative;
  padding: 0 0 40px 30px;
}
.weave-item:last-child{ padding-bottom: 0; }
.weave-item::before{
  content: '';
  position: absolute;
  left: -40px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--orange);
}
.weave-item .tag{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--purple);
  background: var(--lavender-tint);
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 10px;
}
.weave-item h3{ font-size: 20px; margin-bottom: 8px; }
.weave-item p{ color: var(--ink-soft); font-size: 15.5px; margin: 0; max-width: 560px; }

/* =========================================================
   TBD text
   ========================================================= */
.tbd{
  font-style: italic;
  color: var(--ink-soft);
}
.site-footer .tbd{
  color: rgba(255,255,255,.68);
}

/* Photo frame — real photos placed with consistent rounding/cropping */
.photo-frame{
  border-radius: 16px;
  overflow: hidden;
}
.photo-frame img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame.wide{ aspect-ratio: 16/10; }

/* =========================================================
   Two-column layout helper
   ========================================================= */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px){ .split{ grid-template-columns: 1fr; gap: 32px; } }

.tag-row{ display: flex; flex-wrap: wrap; gap: 10px; }
.tag-row.center{ justify-content: center; }
.pill{
  background: var(--lavender-tint);
  color: var(--purple);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
}

/* =========================================================
   Timeline (founding story)
   ========================================================= */
.timeline{ position: relative; }
.timeline-row{
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding-bottom: 34px;
  border-left: 2px solid var(--line);
  position: relative;
  padding-left: 28px;
  margin-left: 6px;
}
.timeline-row:last-child{ padding-bottom: 0; border-color: transparent; }
.timeline-row::before{
  content: '';
  position: absolute;
  left: -7px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
}
.timeline-row .year{
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--purple);
  font-size: 15px;
}
.timeline-row h4{ margin: 0 0 6px; font-size: 17px; color: var(--purple-deep); font-family: var(--font-display); }
.timeline-row p{ color: var(--ink-soft); margin: 0; font-size: 15px; }

/* =========================================================
   Stat row (light background) — membership numbers
   ========================================================= */
.stat-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 8px;
}
.stat-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 20px;
  text-align: center;
}
.stat-card strong{
  display: block;
  font-family: var(--font-mono);
  font-size: 38px;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-card span{
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 600;
}
@media (max-width: 620px){
  .stat-row{ grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat-card{ padding: 16px 8px; }
  .stat-card strong{ font-size: 26px; }
  .stat-card span{ font-size: 11.5px; }
}

/* ---- Impact banner ---- */
.impact-banner{
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, var(--purple), var(--purple-mid));
  border-radius: 20px;
  padding: 40px 44px;
  color: #fff;
}
.impact-banner strong{
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 60px;
  line-height: 1;
  flex-shrink: 0;
  color: var(--orange);
  text-shadow: 0 2px 18px rgba(0,0,0,.18);
}
.impact-banner p{ margin: 0; color: rgba(255,255,255,.92); font-size: 16.5px; max-width: 520px; }
@media (max-width: 640px){
  .impact-banner{ flex-direction: column; text-align: center; gap: 14px; padding: 32px 26px; }
  .impact-banner strong{ font-size: 50px; }
}

/* =========================================================
   Vision / Mission / Goal — three column card grid
   ========================================================= */
.vmg-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.vmg-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--purple);
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(51,9,79,.05);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}
.vmg-icon{
  color: var(--purple);
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
}
.vmg-icon svg{ width: 100%; height: 100%; }
.vmg-card h3{
  font-size: 23px;
  margin-bottom: 16px;
  color: var(--purple-deep);
}
.vmg-card p{
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}
.goal-statement{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 27px);
  line-height: 1.35;
  color: var(--purple-deep);
  margin: 0;
}
@media (max-width: 760px){
  .vmg-grid{ grid-template-columns: 1fr; }
}

/* =========================================================
   Activity summary cards (Activities & Achievements index)
   ========================================================= */
.activity-summary-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.activity-summary-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: box-shadow .18s ease, transform .18s ease;
}
.activity-summary-card:hover{ box-shadow: 0 14px 32px rgba(51,9,79,.12); transform: translateY(-2px); }
.activity-summary-card .photo-frame{ border-radius: 0; aspect-ratio: 16/10; }
.activity-summary-card .body{ padding: 24px 26px 28px; }
.activity-summary-card .date{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange-dark);
  display: block;
  margin-bottom: 10px;
}
.activity-summary-card h3{ font-size: 21px; margin-bottom: 10px; }
.activity-summary-card h3 a{
  color: var(--purple-deep);
  transition: color .15s ease;
}
.activity-summary-card h3 a:hover{ color: var(--orange); }
.activity-summary-card p.excerpt{ color: var(--ink-soft); font-size: 15px; margin: 0 0 16px; }
.activity-summary-card .read-more{
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.activity-summary-card .read-more:hover{ color: var(--orange); }

@media (max-width: 760px){ .activity-summary-grid{ grid-template-columns: 1fr; } }

/* =========================================================
   Activity detail pages (subpages)
   ========================================================= */
.back-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-bottom: 18px;
}
.back-link:hover{ color: #fff; }

.activity-detail-copy{ max-width: 760px; margin: 0 auto 40px; }
.activity-detail-copy p{ color: var(--ink-soft); font-size: 16.5px; }

.activity-detail-hero{
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16/8.5;
  margin-bottom: 40px;
}
.activity-detail-hero img{ width: 100%; height: 100%; object-fit: cover; }

.gallery{
  column-count: 4;
  column-gap: 12px;
}
.gallery img{
  width: 100%;
  display: block;
  border-radius: 10px;
  margin-bottom: 12px;
  break-inside: avoid;
}
@media (max-width: 900px){ .gallery{ column-count: 3; } }
@media (max-width: 620px){
  .gallery{ column-count: 2; }
  .activity-detail-hero{ aspect-ratio: 4/3; }
}

/* =========================================================
   Contact page
   ========================================================= */
.contact-grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
}
@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; } }

.contact-item{
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child{ border-bottom: none; }
.contact-item .icon{
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--lavender-tint);
  color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item h4{ margin: 0 0 4px; font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--ink); }

.form-field{ margin-bottom: 18px; }
.form-field label{
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 7px;
  color: var(--ink);
}
.form-field input,
.form-field textarea{
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus{
  outline: none;
  border-color: var(--purple-mid);
}
.form-note{
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: -6px;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  background: var(--purple-deep);
  color: rgba(255,255,255,.75);
  padding: 56px 0 28px;
  margin-top: 40px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-brand{ display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.footer-brand img{ width: 46px; height: 46px; border-radius: 50%; }
.footer-brand strong{ color: #fff; font-family: var(--font-display); font-size: 17px; }
.site-footer h5{
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul li{ margin-bottom: 10px; }
.site-footer a:hover{ color: #fff; }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 13px;
}
@media (max-width: 760px){
  .footer-grid{ grid-template-columns: 1fr; gap: 26px; }
}

/* ---- misc responsive ---- */
@media (max-width: 700px){
  .section{ padding: 60px 0; }
  h1{ font-size: 30px; }
}
