:root {
  /* Palette matched to ccalabama.org/takeitdown/ */
  --magenta: #7B2D6F;
  --deep-purple: #4A1B5C;
  --soft-pink: #F5E1EC;
  --blush: #EBC9D9;
  --off-white: #FDF9F9;
  --charcoal: #2A1A2E;
  --muted: #6B5A6F;
  --rule: #E8D4DF;
  --gold: #C19A45;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Lora', Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--deep-purple);
  font-weight: 600;
  line-height: 1.2;
  margin-top: 0;
}
h1 { font-size: 52px; letter-spacing: -0.5px; }
h2 { font-size: 36px; margin-bottom: 18px; }
h3 { font-size: 24px; margin-bottom: 12px; }
p { margin: 0 0 18px; }
a { color: var(--magenta); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.15s; }
a:hover { border-bottom-color: var(--magenta); }

/* Header */
.topbar {
  background: var(--deep-purple);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.5px;
}
.topbar a { color: #fff; border-bottom: 1px dotted rgba(255,255,255,0.5); }

header.main {
  background: #ffffff;
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--deep-purple);
  text-decoration: none;
  border: none;
  letter-spacing: -0.3px;
}
.brand span { color: var(--magenta); }
.brand:hover { border: none; }
nav.main { display: flex; gap: 28px; align-items: center; }
nav.main a {
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  font-family: 'Lora', serif;
}
nav.main a:hover, nav.main a.active {
  color: var(--deep-purple);
  border-bottom-color: var(--magenta);
}
nav.main a.cta {
  background: var(--deep-purple);
  color: #fff;
  padding: 10px 22px;
  border-radius: 1px;
  border: none;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
nav.main a.cta:hover { background: var(--magenta); border: none; }

/* Hamburger toggle button - hidden at desktop sizes */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #2a1a2e;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }


/* Sections */
.section { padding: 80px 0; }
.section.hero { padding: 100px 0 90px; background: var(--soft-pink); }
.section.dark { background: var(--deep-purple); color: #fff; }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.section.dark a { color: var(--blush); }
.section.soft { background: var(--soft-pink); }
.section.blush { background: var(--blush); }
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 30px;
}
.narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: 'Lora', serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 1px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary { background: var(--deep-purple); color: #fff; }
.btn-primary:hover { background: var(--magenta); border-bottom: none; transform: translateY(-1px); }
.btn-magenta { background: var(--magenta); color: #fff; }
.btn-magenta:hover { background: var(--deep-purple); border-bottom: none; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--deep-purple);
  color: var(--deep-purple);
  padding: 14px 38px;
}
.btn-outline:hover { background: var(--deep-purple); color: #fff; border-bottom: 2px solid var(--deep-purple); }

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 18px;
  font-family: 'Lora', serif;
}

/* Hero */
.hero h1 {
  max-width: 800px;
  margin-bottom: 25px;
}
.hero .tagline {
  font-size: 21px;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 35px;
  font-weight: 400;
  line-height: 1.55;
}
.hero .ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Card grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.card {
  background: #fff;
  padding: 34px 30px;
  border-radius: 1px;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--magenta);
}
.card h3 { margin-bottom: 14px; }
.card p:last-child { margin-bottom: 0; }

/* Pull quote */
.pullquote {
  border-left: 4px solid var(--magenta);
  padding: 8px 0 8px 28px;
  margin: 40px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-style: italic;
  line-height: 1.35;
  color: var(--deep-purple);
}
.pullquote cite {
  display: block;
  font-size: 14px;
  font-style: normal;
  font-family: 'Lora', sans-serif;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 12px;
}

/* Signup form */
.signup-form {
  background: #fff;
  padding: 36px;
  border-radius: 1px;
  border-top: 4px solid var(--magenta);
  max-width: 560px;
  margin: 30px auto 0;
  box-shadow: 0 2px 12px rgba(74, 27, 92, 0.06);
}
.signup-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--deep-purple);
  margin-bottom: 6px;
  margin-top: 16px;
  font-family: 'Lora', serif;
  letter-spacing: 0.3px;
}
.signup-form label:first-child { margin-top: 0; }
.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form select {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid var(--rule);
  border-radius: 1px;
  font-family: inherit;
  background: #fff;
}
.signup-form input:focus, .signup-form select:focus {
  outline: none;
  border-color: var(--magenta);
}
.signup-form button {
  margin-top: 24px;
  width: 100%;
}
.signup-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}

/* Footer */
footer.main {
  background: var(--charcoal);
  color: var(--blush);
  padding: 60px 0 30px;
  font-size: 15px;
}
footer.main a { color: #fff; border-bottom: 1px dotted rgba(255,255,255,0.4); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}
footer.main h4 {
  color: #fff;
  font-family: 'Lora', serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
footer.main ul { list-style: none; padding: 0; margin: 0; }
footer.main li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  font-size: 13px;
  color: rgba(235, 201, 217, 0.6);
}

/* Placeholder styling */
.tbd-block {
  background: repeating-linear-gradient(
    45deg,
    rgba(123, 45, 111, 0.05),
    rgba(123, 45, 111, 0.05) 10px,
    rgba(123, 45, 111, 0.1) 10px,
    rgba(123, 45, 111, 0.1) 20px
  );
  border: 2px dashed var(--magenta);
  padding: 24px;
  margin: 20px 0;
  border-radius: 1px;
  font-size: 14px;
  color: var(--deep-purple);
  font-style: italic;
  font-family: 'Lora', serif;
}
.tbd-block strong { font-style: normal; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; }

/* Timeline */
.timeline-item {
  border-left: 3px solid var(--rule);
  padding-left: 28px;
  padding-bottom: 28px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 4px;
  width: 13px;
  height: 13px;
  background: var(--magenta);
  border-radius: 50%;
}
.timeline-item.active::before { background: var(--magenta); box-shadow: 0 0 0 4px rgba(123, 45, 111, 0.2); }
.timeline-item.future::before { background: #fff; border: 3px solid var(--rule); }
.timeline-date {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 6px;
  font-family: 'Lora', serif;
}
.timeline-item h3 { font-size: 20px; margin-bottom: 6px; }

/* Responsive */
@media (max-width: 780px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .section { padding: 56px 0; }
  .section.hero { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .container, .narrow { padding: 0 20px; }
  .header-inner { padding: 0 20px; position: relative; }
  /* Show hamburger, collapse nav */
  .nav-toggle { display: block; }
  nav.main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    background: var(--off-white, #fdf9f9);
    border-top: 1px solid var(--rule, #e8d4df);
    box-shadow: 0 12px 28px rgba(74, 27, 92, 0.12);
    padding: 8px 0;
    z-index: 50;
  }
  nav.main.open { display: flex; }
  nav.main a {
    padding: 14px 24px;
    font-size: 16px;
    border-bottom: 1px solid var(--rule, #e8d4df);
  }
  nav.main a:last-child { border-bottom: none; }
  nav.main a.cta {
    margin: 8px 24px;
    padding: 12px 18px;
    text-align: center;
    border: 1px solid var(--magenta, #7B2D6F);
  }
}



/* ----------------------------------------------------------
   Impact list - homepage narrative bullets (May 7, 2026)
   ---------------------------------------------------------- */
.narrow .impact-list,
.impact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
}
.impact-list li {
  position: relative;
  padding: 14px 0 14px 36px;
  border-bottom: 1px solid var(--rule);
  font-family: 'Lora', Georgia, serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
}
.impact-list li:last-child {
  border-bottom: 0;
}
.impact-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 24px;
  width: 18px;
  height: 2px;
  background: var(--magenta);
}
@media (max-width: 780px) {
  .impact-list li {
    font-size: 16px;
    padding: 12px 0 12px 28px;
  }
  .impact-list li::before {
    left: 0;
    top: 22px;
    width: 14px;
  }
}


/* ----------------------------------------------------------
   Signup confirmation/error banners (May 7, 2026)
   ---------------------------------------------------------- */
.signup-banner {
  max-width: 600px;
  margin: 0 auto 28px;
  padding: 16px 22px;
  border-radius: 4px;
  font-family: 'Lora', Georgia, serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}
.signup-banner-ok {
  background: #ECF6E8;
  border-left: 4px solid #4A8B3E;
  color: #2C5C24;
}
.signup-banner-err {
  background: #FBEBEC;
  border-left: 4px solid #B83441;
  color: #7A1F26;
}
.signup-banner a {
  color: inherit;
  border-bottom: 1px solid currentColor;
}


/* ----------------------------------------------------------
   TBD/placeholder blocks - HIDDEN from public view (May 7, 2026 PM)
   Editor placeholders should never render on production.
   To restore visibility for editors, comment out the rule below.
   ---------------------------------------------------------- */
.tbd-block {
  display: none !important;
}
