/* ============================================
   SISTERS WALKING TOGETHER
   Multi-page prototype — Editorial nonprofit aesthetic

   Fonts: Cormorant Garamond (headings) + Source Sans Pro (body)
   Both available in Squarespace font picker

   Palette (from Squarespace site):
   --cream:     #F0EDEA  (light backgrounds)
   --rose:      #9C5456  (primary accent)
   --gold:      #E1C77F  (secondary accent)
   --charcoal:  #403E41  (dark sections, text)
   --tan:       #BC9067  (tertiary accent)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap');

/* ---- Variables ---- */
:root {
  --cream: #F0EDEA;
  --charcoal: #403E41;
  --rose: #9C5456;
  --gold: #E1C77F;
  --tan: #BC9067;
  --mist: #E6E2DE;
  --white: #FFFFFF;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', 'Helvetica Neue', sans-serif;

  --container-max: 1400px;
  --container-narrow: 860px;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --gap: clamp(2rem, 4vw, 4rem);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 300; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 500; }

.label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

p { font-size: 1.05rem; line-height: 1.78; }
p + p { margin-top: 1rem; }

blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.6;
  border-left: 3px solid currentColor;
  border-left-color: inherit;
  padding-left: 1.5rem;
}
blockquote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 1rem;
  color: var(--gold);
}

/* ---- Layout ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}
.container--narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2-1 { grid-template-columns: 5fr 3fr; }
.grid--1-2 { grid-template-columns: 3fr 5fr; }

/* ---- Sections ---- */
section { padding: var(--section-pad) 0; }

/* Hero */
.section--hero {
  padding: 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.section--hero .hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.section--hero .hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.section--hero .hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(64,62,65,0.82) 0%,
    rgba(64,62,65,0.55) 45%,
    rgba(64,62,65,0.25) 100%
  );
}
.hero-content {
  position: relative; z-index: 1;
  color: var(--cream);
  max-width: 640px;
  padding: 6rem 0 4rem;
}
.hero-content p {
  font-size: 1.15rem;
  color: rgba(240,237,234,0.88);
}

/* Section themes */
.section--dark { background: var(--charcoal); color: var(--cream); }
.section--dark h2, .section--dark h3, .section--dark p, .section--dark li, .section--dark .label { color: var(--cream); }
.section--dark a:not(.btn) { color: var(--gold); }

.section--rose { background: var(--rose); color: var(--cream); }
.section--rose h2, .section--rose h3, .section--rose p, .section--rose .label { color: var(--cream); }

.section--mist { background: var(--mist); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }

/* Image-bg sections */
.section--image-bg {
  position: relative; overflow: hidden;
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.section--image-bg .section-bg {
  position: absolute; inset: 0; z-index: 0;
}
.section--image-bg .section-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.section--image-bg .section-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(64,62,65,0.68);
}
.section--image-bg .container,
.section--image-bg .container--narrow {
  position: relative; z-index: 1; color: var(--cream);
}
.section--image-bg h2, .section--image-bg h3, .section--image-bg p,
.section--image-bg li, .section--image-bg blockquote, .section--image-bg .label {
  color: var(--cream);
}

/* ---- Header ---- */
header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(64,62,65,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(225,199,127,0.12);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.5rem, 4vw, 3rem);
  max-width: var(--container-max);
  margin: 0 auto;
}
.site-title {
  font-family: var(--font-heading);
  font-size: 1.35rem; font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
header nav {
  display: flex; align-items: center; gap: 2.2rem;
}
header nav a {
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.13em;
  color: rgba(240,237,234,0.65);
  transition: color 0.2s;
}
header nav a:hover { color: var(--cream); }
header nav a.nav-cta {
  background: var(--rose); color: var(--cream);
  padding: 0.55rem 1.4rem; font-weight: 700;
  transition: background 0.2s;
}
header nav a.nav-cta:hover { background: #874648; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.13em;
  padding: 0.95rem 2.4rem;
  transition: all 0.25s ease;
  cursor: pointer; border: none;
}
.btn--primary { background: var(--rose); color: var(--cream); }
.btn--primary:hover { background: #874648; }
.btn--outline { background: transparent; color: var(--cream); border: 2px solid var(--cream); }
.btn--outline:hover { background: var(--cream); color: var(--charcoal); }
.btn--outline-dark { background: transparent; color: var(--charcoal); border: 2px solid var(--charcoal); }
.btn--outline-dark:hover { background: var(--charcoal); color: var(--cream); }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: #c9b46a; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- Stats ---- */
.stat-card { text-align: center; padding: 2.5rem 2rem; }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 300; color: var(--gold);
  line-height: 1; margin-bottom: 0.75rem;
}
.stat-label {
  font-size: 0.95rem; line-height: 1.55;
  color: rgba(240,237,234,0.78);
  max-width: 280px; margin: 0 auto;
}

/* ---- Fact list ---- */
.fact-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
  font-size: 1.05rem; line-height: 1.7;
}
.fact-list li::before {
  content: '';
  position: absolute; left: 0; top: 0.65rem;
  width: 6px; height: 6px;
  background: currentColor; border-radius: 50%; opacity: 0.4;
}

/* ---- Video ---- */
.video-feature {
  max-width: 960px;
  margin: 0 auto;
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}
.video-wrapper iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: 0;
}
.video-caption {
  margin-top: 1.5rem;
  text-align: center;
}

/* ---- Cards ---- */
.card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--white);
}
.card h3 { color: var(--rose); margin-bottom: 1rem; }
.card p { font-size: 1rem; }

/* ---- Forms ---- */
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block;
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.85rem 1rem;
  font-family: var(--font-body); font-size: 1rem;
  border: 1px solid var(--mist);
  background: var(--white); color: var(--charcoal);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* ---- Donation ---- */
.donation-amounts {
  display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.donation-amounts button {
  font-family: var(--font-body); font-size: 1.1rem; font-weight: 600;
  padding: 0.9rem 1.8rem;
  background: transparent;
  border: 2px solid var(--cream); color: var(--cream);
  cursor: pointer; transition: all 0.2s; min-width: 90px;
}
.donation-amounts button:hover,
.donation-amounts button.active {
  background: var(--cream); color: var(--charcoal);
}
.donation-amounts input {
  padding: 0.9rem 1rem;
  font-family: var(--font-body); font-size: 1.1rem;
  background: transparent;
  border: 2px solid var(--cream); color: var(--cream);
  width: 140px;
}
.donation-amounts input::placeholder { color: rgba(240,237,234,0.35); }

/* ---- Social Icons ---- */
.social-links {
  display: flex; gap: 1rem; align-items: center;
}
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(240,237,234,0.2);
  transition: border-color 0.2s, background 0.2s;
}
.social-links a:hover {
  border-color: var(--gold);
  background: rgba(225,199,127,0.1);
}
.social-links a svg {
  width: 16px; height: 16px;
  fill: rgba(240,237,234,0.6);
  transition: fill 0.2s;
}
.social-links a:hover svg { fill: var(--gold); }

/* Footer-specific social links */
.social-links--footer { margin-top: 1.5rem; }

/* ---- Footer ---- */
footer {
  background: var(--charcoal); color: var(--cream);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
footer h3 { font-size: 1.4rem; margin-bottom: 1.2rem; color: var(--cream); }
footer p {
  color: rgba(240,237,234,0.65);
  font-size: 0.92rem; line-height: 1.75;
}
footer a:not(.btn) { color: var(--gold); transition: color 0.2s; }
footer a:not(.btn):hover { color: var(--cream); }

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 3rem;
}
.footer-contact-item { margin-bottom: 0.65rem; }
.footer-contact-item a { font-size: 0.95rem; }
.footer-contact-label {
  color: rgba(240,237,234,0.4);
  font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(240,237,234,0.08);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem;
  color: rgba(240,237,234,0.35);
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }
.text-gold { color: var(--gold); }
.text-rose { color: var(--rose); }
.text-cream { color: var(--cream); }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mb-8 { margin-bottom: 4rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.spacer { height: 2rem; }
.spacer--lg { height: 4rem; }

.placeholder-note {
  display: inline-block;
  background: rgba(225,199,127,0.15);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.5rem;
}
.section--dark .placeholder-note,
.section--image-bg .placeholder-note {
  background: rgba(225,199,127,0.25);
}

/* Note: gold-rule dividers removed — not achievable in Squarespace without custom CSS */

/* ---- Scroll animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.12s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.24s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.36s; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .grid--2, .grid--3, .grid--2-1, .grid--1-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section--hero { min-height: 75vh; }
  header nav { gap: 1.2rem; }
  .stat-card { padding: 1.5rem 1rem; }
  .stat-number { font-size: 2.5rem; }
  .video-feature { max-width: 100%; }
}
@media (max-width: 600px) {
  .header-inner {
    flex-direction: column; gap: 0.8rem; padding: 0.8rem 1rem;
  }
  header nav { gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
  header nav a { font-size: 0.7rem; }
  .btn-group { flex-direction: column; }
  .donation-amounts { flex-direction: column; }
  .donation-amounts button, .donation-amounts input { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}
