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

  :root {
    --forest:   #42544d;
    --forest-dark: #34433d;
    --forest-deeper: #2a3630;
    --forest-light: #6b857c;
    --sage:     #99beb0;
    --sage-light: #cfe0da;
    --cream:    #f4f2ee;
    --off-white: #fafaf8;
    --text-dark: #1a1a1a;
    --text-mid:  #4a4a4a;
    --text-muted: #7a7a7a;
    --white: #ffffff;
    --error: #c0392b;
    --success: #2d6a4f;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Lato', Arial, sans-serif;
    background-color: var(--forest);
    color: var(--white);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
  }

  /* DEMO BANNER */
  .demo-banner {
    background: #c0392b;
    text-align: center;
    padding: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 14px;
  }

  /* ── HEADER ── */
  header {
    background-color: var(--forest);
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
  }

  nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    position: relative;
  }

  .nav-logo {
    font-family: 'Cabin', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
  }

  .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
  }

  .nav-links a {
    color: var(--sage-light);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--white); }
  .nav-links a.active { color: var(--white); font-weight: 700; }

  /* ── HAMBURGER ── */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 200;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ── MOBILE MENU DRAWER ── */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--forest-deeper);
    z-index: 150;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }

  .mobile-menu ul {
    list-style: none;
    text-align: center;
    width: 100%;
    padding: 0 32px;
  }

  .mobile-menu ul li {
    border-bottom: 1px solid rgba(153,190,176,0.15);
  }

  .mobile-menu ul li:first-child {
    border-top: 1px solid rgba(153,190,176,0.15);
  }

  .mobile-menu ul li a {
    display: block;
    padding: 20px 0;
    font-family: 'Cabin', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--sage-light);
    text-decoration: none;
    transition: color 0.2s;
  }

  .mobile-menu ul li a:hover,
  .mobile-menu ul li a.active {
    color: var(--white);
  }

  /* ── HERO SPLIT (tightened spacing, no excess gap) ── */
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 60px 24px;
    gap: 32px; /* balanced, not excessive — keeps logo close but breathing */
  }

  /* Left column: content naturally flows, no large padding pushing elements apart */
  .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0; /* removed old large side padding that caused gap */
  }

  .hero-eyebrow {
    font-family: 'Cabin', Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 16px;
  }

  .hero-title {
    font-family: 'Cabin', Arial, sans-serif;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
  }

  .hero-title span {
    color: var(--sage);
  }

  .hero-subtitle {
    font-size: 17px;
    line-height: 1.8;
    color: var(--sage-light);
    font-weight: 300;
    max-width: 460px;
    margin-bottom: 40px;
  }

  .mission-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(153,190,176,0.3);
    border-radius: 4px;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--sage-light);
    max-width: 380px;
  }

  .mission-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sage);
    flex-shrink: 0;
  }

  /* Right side: logo container — no extra gaps, perfectly aligned */
  .hero-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-logo {
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
  }

  /* ── DONATION FORM SECTION ── */
  .donation-section {
    background-color: var(--cream);
    color: var(--text-dark);
    padding: 80px 24px;
  }

  .section-inner {
    max-width: 740px;
    margin: 0 auto;
  }

  .section-label {
    font-family: 'Cabin', Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--forest-light);
    margin-bottom: 12px;
  }

  .section-title {
    font-family: 'Cabin', Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--forest-deeper);
    margin-bottom: 8px;
  }

  .section-divider {
    width: 48px;
    height: 3px;
    background: var(--sage);
    margin-bottom: 40px;
  }

  /* ── FREQUENCY TOGGLE ── */
  .frequency-toggle {
    display: flex;
    gap: 0;
    background: var(--white);
    border: 1.5px solid var(--sage);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 32px;
    width: fit-content;
  }

  .freq-btn {
    padding: 12px 32px;
    border: none;
    background: transparent;
    font-family: 'Cabin', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--forest-light);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }

  .freq-btn.active {
    background: var(--forest);
    color: var(--white);
  }

  .freq-btn:not(.active):hover {
    background: var(--sage-light);
    color: var(--forest);
  }

  /* ── AMOUNT GRID ── */
  .amount-label {
    font-family: 'Cabin', Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
  }

  .amount-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
  }

  .amount-btn {
    padding: 16px 8px;
    border: 1.5px solid var(--sage);
    background: var(--white);
    border-radius: 4px;
    font-family: 'Cabin', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--forest);
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
  }

  .amount-btn:hover {
    border-color: var(--forest);
    background: var(--sage-light);
  }

  .amount-btn.active {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--white);
  }

  .custom-amount-wrap {
    margin-bottom: 32px;
    position: relative;
  }

  .custom-amount-wrap label {
    font-family: 'Cabin', Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
  }

  .custom-input-row {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--sage);
    border-radius: 4px;
    background: var(--white);
    overflow: hidden;
    transition: border-color 0.2s;
  }

  .custom-input-row:focus-within {
    border-color: var(--forest);
  }

  .dollar-sign {
    padding: 0 14px;
    font-size: 20px;
    font-weight: 700;
    color: var(--forest-light);
    user-select: none;
  }

  .custom-input-row input {
    border: none;
    outline: none;
    font-family: 'Cabin', Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--forest);
    width: 100%;
    padding: 14px 14px 14px 0;
    background: transparent;
  }

  .custom-input-row input::placeholder {
    color: var(--sage);
  }

  /* ── DONOR FIELDS ── */
  .fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }

  .field-group {
    display: flex;
    flex-direction: column;
  }

  .field-group.full {
    grid-column: 1 / -1;
  }

  .field-group label {
    font-family: 'Cabin', Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
  }

  .field-group input {
    border: 1.5px solid var(--sage);
    border-radius: 4px;
    padding: 13px 16px;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
    outline: none;
    transition: border-color 0.2s;
  }

  .field-group input:focus {
    border-color: var(--forest);
  }

  /* ── SUBMIT ── */
  .submit-wrap {
    margin-top: 8px;
  }

  .submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--forest);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-family: 'Cabin', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .submit-btn:hover { background: var(--forest-dark); }
  .submit-btn:active { transform: scale(0.99); }
  .submit-btn:disabled { background: var(--sage); cursor: not-allowed; }

  .lock-icon {
    width: 14px;
    height: 14px;
    fill: rgba(255,255,255,0.7);
  }

  .secure-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .secure-note svg {
    width: 12px;
    height: 12px;
  }

  #card-errors {
    color: var(--error);
    font-size: 13px;
    min-height: 18px;
    margin-bottom: 16px;
    margin-top: 8px;
  }

  /* ── OTHER WAYS SECTION ── */
  .alt-section {
    background: var(--forest-deeper);
    color: var(--white);
    padding: 64px 24px;
  }

  .alt-inner {
    max-width: 740px;
    margin: 0 auto;
  }

  .alt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
  }

  .alt-card {
    border: 1px solid rgba(153,190,176,0.3);
    border-radius: 4px;
    padding: 28px 24px;
  }

  .alt-card-label {
    font-family: 'Cabin', Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 10px;
  }

  .alt-card h3 {
    font-family: 'Cabin', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--white);
  }

  .alt-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--sage-light);
    font-weight: 300;
  }

  .alt-card p strong {
    color: var(--white);
    font-weight: 700;
  }

  .paypal-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    border: 1.5px solid var(--sage);
    border-radius: 4px;
    font-family: 'Cabin', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--sage-light);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }

  .paypal-btn:hover {
    background: rgba(153,190,176,0.15);
    color: var(--white);
  }

  /* ── FOOTER ── */
  footer {
    background: var(--forest);
    padding: 32px 24px;
    border-top: 1px solid rgba(153,190,176,0.2);
  }

  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-copy {
    font-size: 13px;
    color: var(--sage-light);
    font-weight: 300;
  }

  .footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
  }

  .footer-links a {
    font-size: 13px;
    color: var(--sage-light);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-links a:hover { color: var(--white); }

  /* ── RESPONSIVE: adjust gap and layout for tablet & mobile ── */
  @media (max-width: 1024px) {
    .hero {
      gap: 28px;
      padding: 48px 24px;
    }
    .hero-title { font-size: 44px; }
    .hero-logo { max-width: 400px; }
  }

  @media (max-width: 768px) {
    /* Nav */
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: flex; }

    /* Hero: stack vertically with minimal gap, logo on top, text below */
    .hero {
      grid-template-columns: 1fr;
      gap: 24px;
      padding: 40px 24px;
    }

    /* Logo container - no gap, shown above text */
    .hero-logo-container {
      order: -1;
      justify-content: center;
      margin-bottom: 0;
    }

    .hero-logo {
      max-width: 280px;
      margin: 0 auto;
    }

    .hero-left {
      order: 2;
      padding: 0;
      text-align: center;
      align-items: center;
    }

    .hero-title { 
      font-size: 38px; 
      text-align: center;
    }

    .hero-subtitle {
      max-width: 100%;
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }

    .mission-badge {
      margin-left: auto;
      margin-right: auto;
    }

    /* Donation form */
    .amount-grid { grid-template-columns: repeat(2, 1fr); }
    .fields-grid { grid-template-columns: 1fr; }
    .fields-grid .field-group.full { grid-column: 1; }

    /* Alt section */
    .alt-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .footer-links { flex-wrap: wrap; gap: 16px; }
  }

  @media (max-width: 480px) {
    .hero {
      padding: 32px 20px;
      gap: 20px;
    }
    .hero-title {
      font-size: 32px;
    }
    .hero-subtitle {
      font-size: 15px;
    }
    .hero-logo {
      max-width: 220px;
    }
    .mission-badge {
      font-size: 12px;
      text-align: center;
    }
  }
