/* ============================================================
       NATUREJAB - VOLUNTEER REGISTRATION (v2)
       Webflow-friendly: section → container → content
       Scoped styles only (no global resets that override Webflow)
       ============================================================ */

    /* Scoped to .nj-volunteer to avoid Webflow conflicts */
    .nj-volunteer, .nj-volunteer * { box-sizing: border-box; }
    .nj-volunteer { margin: 0; padding: 0; font-family: "Bitter", Georgia, serif; -webkit-font-smoothing: antialiased; }

    /* ── Section (full-width background) ── */
    .nj-section {
      width: 100%;
      position: relative;
      overflow: hidden;
    }
    .nj-section-dark {
      background: #0D0E0A;
      color: #F3EFE3;
    }
    .nj-section-cream {
      background: #EDE7D3;
      color: #1A1B15;
    }

    /* ── Container ── */
    .nj-container {
      width: 100%;
      max-width: 1216px;
      margin: 0 auto;
      padding: 0 32px;
      position: relative;
      z-index: 1;
    }

    /* ══════════════════════════════════════
       HEADER SECTION
    ══════════════════════════════════════ */
    .nj-header {
      padding: 120px 0 120px;
    }
    .nj-header::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 60% 50% at 20% 30%, rgba(255,91,31,0.10) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(212,242,90,0.06) 0%, transparent 60%);
      pointer-events: none;
    }

    .nj-header-grid {
      display: flex;
      flex-direction: column;
      max-width: 820px;
      margin: 0 auto;
      text-align: left;
    }

    .nj-header-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      padding: 6px 14px;
      border: 1px solid #2A2B24;
      background: rgba(93,186,99,0.06);
      font-family: "JetBrains Mono", monospace;
      font-size: 12px;
      letter-spacing: 3px;
      text-transform: uppercase;
      font-weight: 500;
      margin-bottom: 32px;
    }
    .nj-header-eyebrow .num { color: #FF5B1F; font-weight: 700; }
    .nj-header-eyebrow .sep { color: #54524A; }
    .nj-header-eyebrow .text { color: #5DBA63; }

    .nj-header-title {
      font-family: "Archivo Black", sans-serif; font-weight: 900;
      font-size: clamp(44px, 5.6vw, 80px);
      letter-spacing: -2.4px;
      line-height: 0.96;
      text-transform: uppercase;
      color: #F3EFE3;
      margin: 0 0 28px;
    }
    .nj-header-title .accent { color: #FF5B1F; }

    .nj-header-lede {
      font-family: "Bitter", serif;
      font-size: 17px;
      line-height: 1.7;
      color: #A8A393;
      max-width: 600px;
      margin: 0 0 0;
    }
    .nj-header-lede strong { color: #F3EFE3; font-weight: 700; }

    /* ══════════════════════════════════════
       CATEGORY SELECTOR
    ══════════════════════════════════════ */
    .nj-categories {
      padding: 0 0 80px;
    }

    .nj-cat-header {
      text-align: center;
      margin-bottom: 40px;
    }
    .nj-cat-eyebrow {
      display: inline-flex;
      gap: 12px;
      font-family: "JetBrains Mono", monospace;
      font-size: 11px;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: #5DBA63;
      font-weight: 700;
      margin-bottom: 20px;
    }
    .nj-cat-title {
      font-family: "Archivo Black", sans-serif; font-weight: 900;
      font-size: clamp(28px, 3.6vw, 42px);
      letter-spacing: -1.2px;
      line-height: 1.05;
      text-transform: uppercase;
      color: #F3EFE3;
      margin: 0 0 12px;
    }
    .nj-cat-subtitle {
      font-family: "Bitter", serif;
      font-size: 15.5px;
      line-height: 1.65;
      color: #A8A393;
      max-width: 520px;
      margin: 0 auto;
    }

    .nj-cat-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      max-width: 820px;
      margin: 0 auto;
    }

    .nj-cat-card {
      background: #14150F;
      border: 1px solid #2A2B24;
      padding: 36px 32px 32px;
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s;
      position: relative;
    }
    .nj-cat-card:hover {
      border-color: #5DBA63;
    }
    .nj-cat-card.is-active {
      border-color: #5DBA63;
      background: rgba(93,186,99,0.06);
    }
    .nj-cat-card.is-active::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: #5DBA63;
    }

    .nj-cat-icon {
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(93,186,99,0.08);
      border: 1px solid #2A2B24;
      margin-bottom: 20px;
      transition: border-color 0.2s;
    }
    .nj-cat-card:hover .nj-cat-icon,
    .nj-cat-card.is-active .nj-cat-icon {
      border-color: #5DBA63;
    }
    .nj-cat-icon svg {
      width: 22px;
      height: 22px;
    }

    .nj-cat-card-label {
      font-family: "JetBrains Mono", monospace;
      font-size: 10px;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: #5DBA63;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .nj-cat-card-title {
      font-family: "Archivo Black", sans-serif; font-weight: 900;
      font-size: 22px;
      letter-spacing: -0.5px;
      line-height: 1.1;
      text-transform: uppercase;
      color: #F3EFE3;
      margin: 0 0 12px;
    }
    .nj-cat-card-desc {
      font-family: "Bitter", serif;
      font-size: 14px;
      line-height: 1.6;
      color: #A8A393;
      margin: 0;
    }
    .nj-cat-card-location {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 14px;
      padding: 5px 11px;
      background: rgba(255,91,31,0.08);
      border: 1px solid rgba(255,91,31,0.2);
      font-family: "JetBrains Mono", monospace;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #FF5B1F;
    }

    .nj-cat-indicator {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 20px;
      padding-top: 16px;
      border-top: 1px solid #2A2B24;
      font-family: "JetBrains Mono", monospace;
      font-size: 11px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: #54524A;
      font-weight: 600;
      transition: color 0.2s;
    }
    .nj-cat-card.is-active .nj-cat-indicator {
      color: #5DBA63;
    }
    .nj-cat-indicator-dot {
      width: 8px;
      height: 8px;
      border: 1px solid #54524A;
      background: transparent;
      transition: background 0.2s, border-color 0.2s;
    }
    .nj-cat-card.is-active .nj-cat-indicator-dot {
      background: #5DBA63;
      border-color: #5DBA63;
    }

    /* ══════════════════════════════════════
       FORM SECTION
    ══════════════════════════════════════ */
    .nj-form-section {
      padding: 112px 0 112px;
    }
    .nj-form-section::before {
      content: "";
      position: absolute;
      right: -120px;
      top: 0;
      width: 600px;
      height: 100%;
      background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255,91,31,0.05) 0%, transparent 70%);
      pointer-events: none;
    }

    .nj-form-header {
      text-align: center;
      margin-bottom: 56px;
    }
    .nj-form-eyebrow {
      display: inline-flex;
      gap: 12px;
      font-family: "JetBrains Mono", monospace;
      font-size: 11px;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: #7A3316;
      font-weight: 700;
      margin-bottom: 20px;
    }
    .nj-form-title {
      font-family: "Archivo Black", sans-serif; font-weight: 900;
      font-size: clamp(34px, 4.4vw, 54px);
      letter-spacing: -1.6px;
      line-height: 1;
      text-transform: uppercase;
      color: #1A1B15;
      margin: 0 0 16px;
    }
    .nj-form-subtitle {
      font-family: "Bitter", serif;
      font-size: 16.5px;
      line-height: 1.65;
      color: rgba(26,27,21,0.7);
      max-width: 600px;
      margin: 0 auto;
    }

    /* Form grid */
    .nj-form-wrap {
      max-width: 720px;
      margin: 0 auto;
      background: #FFFFFF;
      border: 1px solid rgba(26,27,21,0.18);
      padding: 48px 48px 40px;
    }

    .nj-form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }
    .nj-form-field {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .nj-form-field.full { grid-column: 1 / -1; }

    .nj-label {
      font-family: "JetBrains Mono", monospace;
      font-size: 11px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #1A1B15;
      font-weight: 700;
    }
    .nj-label .req { color: #FF5B1F; margin-left: 2px; }

    .nj-input,
    .nj-select,
    .nj-textarea {
      width: 100%;
      background: transparent;
      border: 1px solid rgba(26,27,21,0.20);
      color: #1A1B15;
      font-family: "JetBrains Mono", monospace;
      font-size: 13.6px;
      letter-spacing: 0.5px;
      padding: 14px 16px;
      border-radius: 0;
      outline: none;
      transition: border-color 0.2s;
    }
    .nj-input:focus,
    .nj-select:focus,
    .nj-textarea:focus {
      border-color: #5DBA63;
    }
    .nj-input::placeholder,
    .nj-textarea::placeholder {
      color: rgba(26,27,21,0.35);
    }
    .nj-textarea {
      min-height: 110px;
      resize: vertical;
      font-family: "Bitter", serif;
      font-size: 14.5px;
      line-height: 1.55;
    }
    .nj-select {
      appearance: none;
      -webkit-appearance: none;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%231A1B15' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
      background-repeat: no-repeat;
      background-position: right 16px center;
      padding-right: 40px;
      cursor: pointer;
    }

    .nj-checkbox-row {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      margin-top: 8px;
    }
    .nj-checkbox {
      width: 18px;
      height: 18px;
      border: 1px solid rgba(26,27,21,0.4);
      flex-shrink: 0;
      margin-top: 2px;
      cursor: pointer;
      appearance: none;
      -webkit-appearance: none;
      background: transparent;
      position: relative;
    }
    .nj-checkbox:checked {
      background: #5DBA63;
      border-color: #5DBA63;
    }
    .nj-checkbox:checked::after {
      content: "";
      position: absolute;
      top: 2px;
      left: 5px;
      width: 5px;
      height: 9px;
      border-right: 2px solid #1A1B15;
      border-bottom: 2px solid #1A1B15;
      transform: rotate(45deg);
    }
    .nj-checkbox-label {
      font-family: "Bitter", serif;
      font-size: 13.5px;
      line-height: 1.5;
      color: rgba(26,27,21,0.75);
      cursor: pointer;
    }
    .nj-checkbox-label a { color: #1A1B15; text-decoration: underline; }

    .nj-form-actions {
      margin-top: 32px;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 14px;
    }

    /* Button - design system spec */
    .nj-btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      padding: 15px 28px;
      background: #5DBA63;
      color: #1A1B15;
      font-family: "JetBrains Mono", monospace;
      font-size: 13.6px;
      font-weight: 700;
      letter-spacing: 1.088px;
      text-transform: none;
      text-decoration: none;
      border: 1px solid #5DBA63;
      border-radius: 0;
      cursor: pointer;
      transition: opacity 0.15s ease;
    }
    .nj-btn-primary:hover { opacity: 0.85; }
    .nj-btn-arrow { display: inline-block; transition: transform 0.15s ease; }
    .nj-btn-primary:hover .nj-btn-arrow { transform: translateX(2px); }

    .nj-form-foot {
      text-align: center;
      font-family: "JetBrains Mono", monospace;
      font-size: 10.5px;
      letter-spacing: 1.8px;
      text-transform: uppercase;
      color: rgba(26,27,21,0.45);
    }

    /* Location banner inside construction form */
    .nj-form-location {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 16px 20px;
      background: rgba(255,91,31,0.04);
      border: 1px solid rgba(255,91,31,0.15);
      margin-bottom: 24px;
    }
    .nj-form-location-icon {
      flex-shrink: 0;
      width: 20px;
      height: 20px;
      color: #FF5B1F;
    }
    .nj-form-location-text {
      font-family: "JetBrains Mono", monospace;
      font-size: 12px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      font-weight: 700;
      color: #1A1B15;
    }
    .nj-form-location-text span {
      color: #FF5B1F;
    }

    /* ══════════════════════════════════════
       MODAL
    ══════════════════════════════════════ */
    .nj-modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(13,14,10,0.78);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      padding: 24px;
    }
    .nj-modal-overlay.is-open { display: flex; }

    .nj-modal {
      background: #14150F;
      border: 1px solid #2A2B24;
      max-width: 480px;
      width: 100%;
      padding: 48px 40px 40px;
      text-align: center;
      position: relative;
    }
    .nj-modal-icon {
      width: 56px;
      height: 56px;
      margin: 0 auto 24px;
      background: rgba(93,186,99,0.12);
      border: 1px solid #5DBA63;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .nj-modal-icon svg { width: 28px; height: 28px; }
    .nj-modal-title {
      font-family: "Archivo Black", sans-serif; font-weight: 900;
      font-size: 28px;
      letter-spacing: -0.8px;
      line-height: 1.05;
      text-transform: uppercase;
      color: #F3EFE3;
      margin: 0 0 16px;
    }
    .nj-modal-text {
      font-family: "Bitter", serif;
      font-size: 15.5px;
      line-height: 1.65;
      color: #A8A393;
      margin: 0 0 28px;
    }
    .nj-modal-close {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 15px 28px;
      background: #5DBA63;
      color: #1A1B15;
      font-family: "JetBrains Mono", monospace;
      font-size: 13.6px;
      font-weight: 700;
      letter-spacing: 1.088px;
      border: 1px solid #5DBA63;
      border-radius: 0;
      cursor: pointer;
      transition: opacity 0.15s ease;
    }
    .nj-modal-close:hover { opacity: 0.85; }

    /* ══════════════════════════════════════
       RESPONSIVE
    ══════════════════════════════════════ */
    @media (max-width: 960px) {
      .nj-header { padding: 96px 0 96px; }
      .nj-categories { padding: 0 0 64px; }
      .nj-form-section { padding: 88px 0 88px; }
      .nj-form-wrap { padding: 40px 32px 32px; }
    }
    @media (max-width: 600px) {
      .nj-container { padding: 0 22px; }
      .nj-header { padding: 80px 0 80px; }
      .nj-cat-grid { grid-template-columns: 1fr; gap: 16px; }
      .nj-cat-card { padding: 28px 24px 24px; }
      .nj-form-section { padding: 72px 0 72px; }
      .nj-form-grid { grid-template-columns: 1fr; gap: 20px; }
      .nj-form-wrap { padding: 32px 22px 26px; }
      .nj-modal { padding: 36px 26px 30px; }
      .nj-modal-title { font-size: 24px; }
    }
