/* ========================================================================
   Chix 4 A Cause - styles.css
   Custom CSS for chix4acause.org
   ======================================================================== */

/* --- FOUC Prevention --- */
html:not(.js-ready) body { opacity: 0; padding-bottom: 2.25rem; }
html.js-ready body { opacity: 1; transition: opacity 0.25s ease; }

/* --- Custom Properties --- */
:root {
  --bg: #faf7f5;
  --bg-alt: #f3ece7;
  --bg-card: #ffffff;
  --bg-dark: #2a2226;
  --text: #332830;
  --text-muted: #6e5a64;
  --text-faint: #9e8a94;
  --primary: #c4577a;
  --primary-rgb: 196, 87, 122;
  --primary-light: #f8e0e8;
  --accent: #7b6b8a;
  --accent-light: #ece6f0;
  --border: #ddd2d8;
  --border-light: #ece4e8;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Lato', sans-serif;
  --max-w: 1060px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
}

html.dark {
  --bg: #1c181a;
  --bg-alt: #241f22;
  --bg-card: #2c262a;
  --bg-dark: #120f11;
  --text: #e8dfe4;
  --text-muted: #9e8a94;
  --text-faint: #6e5a64;
  --primary: #d87a98;
  --primary-rgb: 216, 122, 152;
  --primary-light: #3a2530;
  --accent: #a08cb0;
  --accent-light: #282230;
  --border: #3a3236;
  --border-light: #302a2e;
  --shadow: 0 2px 12px rgba(0,0,0,0.2);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.25);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 3px; }

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: clamp(2.25rem, 1.6rem + 2.5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  font-weight: 600;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
}

p + p { margin-top: 1rem; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--primary-light {
  background: var(--primary-light);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn--white {
  background: #fff;
  color: var(--primary);
}

.btn--white:hover {
  background: var(--bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  z-index: 9999;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

/* ========================================================================
   HEADER / NAV
   ======================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 247, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

html.dark .header {
  background: rgba(28, 24, 26, 0.92);
}

.header--scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

html.dark .header--scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header__logo {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  z-index: 1001;
}

.header__logo {
  transition: color 0.4s ease;
}

.header--scrolled .header__logo {
  color: var(--primary);
}

.header__logo:hover { color: var(--primary); }

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__link:hover,
.nav__link--active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav__cta {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff;
  background: var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.nav__cta:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* Dark Toggle */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
html.dark .theme-toggle .icon-moon { display: none; }
html.dark .theme-toggle .icon-sun { display: block; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  color: var(--text);
}

.hamburger svg { width: 24px; height: 24px; }
.hamburger .icon-close { display: none; }
.hamburger[aria-expanded="true"] .icon-menu { display: none; }
.hamburger[aria-expanded="true"] .icon-close { display: block; }

/* Mobile Nav */
@media (max-width: 768px) {
  .hamburger { display: flex; align-items: center; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--bg-card);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    gap: 1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav--open { transform: translateX(0); }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .nav__cta {
    text-align: center;
    padding: 0.75rem 1.25rem;
    margin-top: 0.5rem;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-overlay--visible {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ========================================================================
   HERO
   ======================================================================== */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(250, 247, 245, 0.88) 0%,
    rgba(248, 224, 232, 0.82) 50%,
    rgba(243, 236, 231, 0.92) 100%
  );
}

html.dark .hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(28, 24, 26, 0.92) 0%,
    rgba(58, 37, 48, 0.85) 50%,
    rgba(28, 24, 26, 0.95) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero__title {
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========================================================================
   HEART-RIBBON DIVIDER
   ======================================================================== */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.divider svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
  opacity: 0.4;
}

/* ========================================================================
   IMPACT (Qualitative blocks)
   ======================================================================== */
.impact {
  padding: 4rem 0;
  background: var(--bg-alt);
}

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

.impact__block {
  text-align: center;
  padding: 2rem 1.5rem;
}

.impact__label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.impact__desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

@media (max-width: 640px) {
  .impact__grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ========================================================================
   HOW WE HELP (two-column)
   ======================================================================== */
.how-we-help__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.how-we-help__text h2 { margin-bottom: 1.25rem; }

.how-we-help__text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.how-we-help__list {
  margin: 1.25rem 0 1.5rem;
  padding-left: 0;
}

.how-we-help__list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.625rem;
  color: var(--text);
}

.how-we-help__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.6;
}

.how-we-help__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.how-we-help__img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .how-we-help__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .how-we-help__img { order: -1; }
  .how-we-help__img img { height: 280px; }
}

/* ========================================================================
   GET INVOLVED (Three cards with gradient tints)
   ======================================================================== */
.involve__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.involve__card {
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.involve__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.involve__card--rose {
  background: linear-gradient(160deg, var(--bg-card) 40%, var(--primary-light) 100%);
}

.involve__card--purple {
  background: linear-gradient(160deg, var(--bg-card) 40%, var(--accent-light) 100%);
}

.involve__card--warm {
  background: linear-gradient(160deg, var(--bg-card) 40%, var(--bg-alt) 100%);
}

.involve__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.involve__card--rose .involve__icon { background: var(--primary-light); color: var(--primary); }
.involve__card--purple .involve__icon { background: var(--accent-light); color: var(--accent); }
.involve__card--warm .involve__icon { background: var(--bg-alt); color: var(--text-muted); }

.involve__icon {
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.involve__card:hover .involve__icon {
  transform: scale(1.08);
}

.involve__icon svg { width: 22px; height: 22px; }

.involve__card h3 { margin-bottom: 0.75rem; }

.involve__card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .involve__grid { grid-template-columns: 1fr; }
}

/* ========================================================================
   TESTIMONIAL
   ======================================================================== */
.testimonial {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.testimonial__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.testimonial__quote {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial__quote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.25;
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

.testimonial__attr {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-faint);
}

.testimonial__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonial__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.testimonial__dot--active {
  background: var(--primary);
}

/* ========================================================================
   FAQ
   ======================================================================== */
.faq__list {
  max-width: 720px;
  margin: 2.5rem auto 0;
}

.faq__item {
  border-bottom: 1px solid var(--border-light);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
}

.faq__question:hover { color: var(--primary); }

.faq__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-faint);
  transition: transform 0.25s ease;
}

.faq__item--open .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq__answer-inner {
  padding: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ========================================================================
   CTA BANNER
   ======================================================================== */
.cta-banner {
  padding: 4.5rem 0;
  background: var(--primary-light);
  text-align: center;
}

.cta-banner h2 { margin-bottom: 1rem; }

.cta-banner p {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2rem;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 calc(3.5rem + 60px);
}

.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: var(--primary); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer__brand-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer__list li { margin-bottom: 0.5rem; }

.footer__list a {
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.3em;
  color: var(--primary);
}

html.dark .footer__contact-item svg { color: #d87a98; }

.footer__bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
}

.footer__disclaimer {
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ========================================================================
   INTERIOR PAGES
   ======================================================================== */
.page-hero {
  padding: 8rem 0 3rem;
  background: var(--bg-alt);
  text-align: center;
}

.page-hero h1 { margin-bottom: 1rem; }

.page-hero p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.page-content {
  padding: 4rem 0;
}

.page-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.page-content h2:first-child { margin-top: 0; }

.page-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.page-content ul {
  margin: 1rem 0 1.5rem;
}

.page-content ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.6;
}

.page-content .content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin: 2rem 0;
}

.page-content .content-grid img {
  border-radius: var(--radius);
  width: 100%;
  height: 320px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .page-content .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}

.value-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.9375rem;
}

@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ========================================================================
   CONTACT PAGE
   ======================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236e5a64' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  display: none;
}

.form-status--success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-status--error {
  display: block;
  background: #fbe9e7;
  color: #c62828;
  border: 1px solid #ffccbc;
}

html.dark .form-status--success {
  background: #1b3a1e;
  color: #81c784;
  border-color: #2e5a31;
}

html.dark .form-status--error {
  background: #3a1b1b;
  color: #ef9a9a;
  border-color: #5a2e2e;
}

.contact-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-sidebar h3 { margin-bottom: 1.5rem; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.15em;
  color: var(--primary);
}

.contact-info-item strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--text-faint);
  margin-bottom: 0.125rem;
}

.contact-info-item span,
.contact-info-item a {
  font-size: 0.9375rem;
}

.cf-turnstile {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-sidebar { order: -1; }
}

/* ========================================================================
   404 PAGE
   ======================================================================== */
.not-found {
  padding: 10rem 0 6rem;
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.not-found h1 {
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.5rem);
  margin-bottom: 1rem;
}

.not-found p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.not-found__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

/* ========================================================================
   INTERIOR PAGE SPECIFICS
   ======================================================================== */
.opportunity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.opportunity-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.opportunity-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.opportunity-card h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.opportunity-card p {
  font-size: 0.9375rem;
}

@media (max-width: 640px) {
  .opportunity-grid { grid-template-columns: 1fr; }
}

/* ========================================================================
   UTILITY
   ======================================================================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Subtle entrance animations */
@media (prefers-reduced-motion: no-preference) {
  .hero__content,
  .impact__block,
  .involve__card,
  .value-card,
  .opportunity-card {
    animation: c4ac-fade-up 0.6s ease both;
  }
  .impact__block:nth-child(2),
  .involve__card:nth-child(2),
  .value-card:nth-child(2),
  .opportunity-card:nth-child(2) { animation-delay: 0.1s; }
  .impact__block:nth-child(3),
  .involve__card:nth-child(3),
  .value-card:nth-child(3),
  .opportunity-card:nth-child(3) { animation-delay: 0.2s; }
  .opportunity-card:nth-child(4) { animation-delay: 0.3s; }

  @keyframes c4ac-fade-up {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .divider svg {
    animation: c4ac-pulse 3s ease-in-out infinite;
  }

  @keyframes c4ac-pulse {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 0.6; }
  }
}

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

/* Disclaimer bar */
.disclaimer-bar{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  z-index:90;
  background:#1C1E24;
  color:#9B9DA6;
  font-size:0.8rem;
  text-align:center;
  padding:0.6rem 1rem;
  border-top:1px solid rgba(255,255,255,0.08);
}
